'activitypub_vary_header' ) ); } \add_settings_field( 'activitypub_content_negotiation', \__( 'Content Negotiation', 'activitypub' ), array( self::class, 'render_content_negotiation_field' ), 'activitypub_advanced_settings', 'activitypub_advanced_settings', array( 'label_for' => 'activitypub_content_negotiation' ) ); if ( ! \defined( 'ACTIVITYPUB_AUTHORIZED_FETCH' ) ) { \add_settings_field( 'activitypub_authorized_fetch', \__( 'Authorized Fetch', 'activitypub' ), array( self::class, 'render_authorized_fetch_field' ), 'activitypub_advanced_settings', 'activitypub_advanced_settings', array( 'label_for' => 'activitypub_authorized_fetch' ) ); } \add_settings_field( 'activitypub_rfc9421_signature', \__( 'Modern Signature Format', 'activitypub' ), array( self::class, 'render_rfc9421_signature_field' ), 'activitypub_advanced_settings', 'activitypub_advanced_settings', array( 'label_for' => 'activitypub_rfc9421_signature' ) ); \add_settings_field( 'activitypub_following_ui', \__( 'Following User Interface', 'activitypub' ), array( self::class, 'render_following_ui_field' ), 'activitypub_advanced_settings', 'activitypub_advanced_settings', array( 'label_for' => 'activitypub_following_ui' ) ); // Only offer the Reader opt-in where the app can actually boot (WordPress 7.0+). if ( App::is_supported() ) { \add_settings_field( 'activitypub_reader_ui', \__( 'Reader', 'activitypub' ), array( self::class, 'render_reader_field' ), 'activitypub_advanced_settings', 'activitypub_advanced_settings', array( 'label_for' => 'activitypub_reader_ui' ) ); } \add_settings_field( 'activitypub_api', \__( 'ActivityPub API', 'activitypub' ), array( self::class, 'render_api_field' ), 'activitypub_advanced_settings', 'activitypub_advanced_settings', array( 'label_for' => 'activitypub_api' ) ); \add_settings_field( 'activitypub_object_type', \__( 'Activity-Object-Type', 'activitypub' ), array( self::class, 'render_object_type_field' ), 'activitypub_advanced_settings', 'activitypub_advanced_settings', array( 'label_for' => 'activitypub_object_type' ) ); } /** * Render Advanced Settings Section. * * @return void */ public static function render_advanced_settings_section() { ?>
array( 'href' => true, 'target' => true, ), ); echo \wp_kses( \__( 'Advanced settings allow deep customization but can affect your site’s functionality, security, or performance if misconfigured. Only proceed if you fully understand the changes, and always back up your site beforehand. If unsure, consult documentation or seek expert advice.', 'activitypub' ), $allowed_html ); ?>
Activates the Following feature, letting you follow other ActivityPub accounts directly from your WordPress site. Adds a "Following" menu and tab to manage followed accounts.
⚠ A reader interface is not available yet. Please follow accounts sparingly—you won't be able to see their posts or shares. This feature is intended for testing the follow functionality. Once fully implemented, it will be enabled by default.
Adds a "Social Web" interface where you can read posts and shares from accounts you follow. Also enables the Following feature. Look for it in Dashboard > Social Web.
⚠ This feature is experimental and may change significantly in future updates.
\__( 'Custom', 'activitypub' ), 'description' => \__( 'Configure batch size and delay manually.', 'activitypub' ), ); // Custom fields fall back to the default preset values when unset. $custom_batch = \get_option( 'activitypub_custom_batch_size', $modes['default']['batch_size'] ); $custom_pause = \get_option( 'activitypub_custom_batch_pause', $modes['default']['pause'] ); ?>