2019-08-21 10:38:43 +02:00
< div class = " wrap " >
2023-04-21 14:56:22 +02:00
< h1 >< ? php \esc_html_e ( 'Followers' , 'activitypub' ); ?> </h1>
2023-06-23 14:54:29 +02:00
< ? php Activitypub\Migration :: maybe_migrate (); ?>
2022-12-02 20:44:56 +01:00
< ? php // translators: ?>
2023-04-21 14:56:22 +02:00
< p >< ? php \printf ( \esc_html__ ( 'You currently have %s followers.' , 'activitypub' ), \esc_attr ( \Activitypub\Collection\Followers :: count_followers ( \get_current_user_id () ) ) ); ?> </p>
2019-08-21 10:38:43 +02:00
2023-06-23 14:54:29 +02:00
< ? php $table = new \Activitypub\Table\Followers (); ?>
2019-08-21 10:38:43 +02:00
< form method = " get " >
2023-04-21 16:25:15 +02:00
< input type = " hidden " name = " page " value = " activitypub-followers-list " />
2019-08-21 10:38:43 +02:00
< ? php
2023-06-23 14:54:29 +02:00
$table -> prepare_items ();
$table -> display ();
2019-08-21 10:38:43 +02:00
?>
2023-04-21 16:40:46 +02:00
< ? php wp_nonce_field ( 'activitypub-followers-list' , '_apnonce' ); ?>
2019-08-21 10:38:43 +02:00
</ form >
</ div >