16 lines
618 B
PHP
16 lines
618 B
PHP
<?php $followes_table = new \Activitypub\Table\Followers(); ?>
|
|
<div class="wrap">
|
|
<h1><?php \esc_html_e( 'Followers', 'activitypub' ); ?></h1>
|
|
|
|
<?php // translators: ?>
|
|
<p><?php \printf( \esc_html__( 'You currently have %s followers.', 'activitypub' ), \esc_attr( \Activitypub\Collection\Followers::count_followers( \get_current_user_id() ) ) ); ?></p>
|
|
|
|
<form method="get">
|
|
<input type="hidden" name="page" value="activitypub-followers-list" />
|
|
<?php
|
|
$followes_table->prepare_items();
|
|
$followes_table->display();
|
|
?>
|
|
<?php wp_nonce_field( 'activitypub-followers-list', '_apnonce' ); ?>
|
|
</form>
|
|
</div>
|