-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_{$key}
github-actions[bot] edited this page Jan 13, 2026
·
1 revision
Filters the columns displayed in the ActivityPub Following list table.
Allows plugins to add, remove, or reorder columns shown in the Following list table on the ActivityPub admin screen.
/**
* Filters the columns displayed in the ActivityPub Following list table.
*
* Allows plugins to add, remove, or reorder columns shown in the
* Following list table on the ActivityPub admin screen.
*
* @param Activitypub\string[] $columns
* @param int $user_id
* @return Activitypub\string[] The filtered value.
*/
function my_activitypub_{$key}_callback( Activitypub\string[] $columns = null, int $user_id = null ) {
// Your code here.
return null;
}
add_filter( 'activitypub_*', 'my_activitypub_{$key}_callback' );-
Activitypub\string[]$columnsArray of columns. -
int$user_idThe user id of the local actor.
\apply_filters( 'activitypub_' . $key . '_columns', $columns, $this->user_id )Follow @activitypub.blog@activitypub.blog for updates and news.