'activitypub_description' ) ); \add_settings_field( 'activitypub_header_image', \esc_html__( 'Header Image', 'activitypub' ), array( self::class, 'header_image_callback' ), 'activitypub_user_settings', 'activitypub_user_profile', array( 'label_for' => 'activitypub_header_image' ) ); \add_settings_field( 'activitypub_extra_fields', \esc_html__( 'Extra Fields', 'activitypub' ), array( self::class, 'extra_fields_callback' ), 'activitypub_user_settings', 'activitypub_user_profile' ); \add_settings_field( 'activitypub_also_known_as', \esc_html__( 'Account Aliases', 'activitypub' ), array( self::class, 'also_known_as_callback' ), 'activitypub_user_settings', 'activitypub_user_profile', array( 'label_for' => 'activitypub_blog_user_also_known_as' ) ); } /** * Section description callback. */ public static function section_description() { echo '
' . \esc_html__( 'Define what others can see on your public Fediverse profile and next to your posts. With a profile picture and a fully completed profile, you are more likely to gain interactions and followers.', 'activitypub' ) . '
'; echo '' . \esc_html__( 'The ActivityPub plugin tries to take as much information as possible from your profile settings. However, the following settings are not supported by WordPress or should be adjusted independently of the WordPress settings.', 'activitypub' ) . '
'; } /** * Profile URL field callback. */ public static function profile_url_callback() { $user = \Activitypub\Collection\Actors::get_by_id( \get_current_user_id() ); ?>
' . \esc_html( $user->get_webfinger() ) . '',
'' . \esc_url( $user->get_url() ) . ''
);
?>
get_webfinger() ) ); ?>
| post_title ); ?> |