2023-08-28 14:12:10 +02:00
< ? php
$follower_count = \Activitypub\Collection\Followers :: count_followers ( \get_current_user_id () );
// translators: The follower count.
$followers_template = _n ( 'Your author profile currently has %s follower.' , 'Your author profile currently has %s followers.' , $follower_count , 'activitypub' );
?>
2019-08-21 10:38:43 +02:00
< div class = " wrap " >
2023-08-28 14:12:10 +02:00
< h1 >< ? php \esc_html_e ( 'Author Followers' , 'activitypub' ); ?> </h1>
< p >< ? php \printf ( \esc_html ( $followers_template ), \esc_attr ( $follower_count ) ); ?> </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 ();
2023-10-11 17:10:37 +02:00
$table -> search_box ( 'Search' , 'search' );
2023-06-23 14:54:29 +02:00
$table -> display ();
2019-08-21 10:38:43 +02:00
?>
</ form >
</ div >