-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_followers_row_actions
github-actions[bot] edited this page Nov 14, 2025
·
3 revisions
Filters the array of row action links for each follower in the Followers list table.
This filter allows you to modify the available row actions (such as Delete, Block, or Follow back) for each follower item displayed in the table.
'Delete', 'Block', and optionally 'Follow back'.
/**
* Filters the array of row action links for each follower in the Followers list table.
*
* This filter allows you to modify the available row actions (such as Delete, Block, or Follow back)
* for each follower item displayed in the table.
*
*
* 'Delete', 'Block', and optionally 'Follow back'.
*
* @param Activitypub\string[] $actions
* @param array $item
* @return Activitypub\string[] The filtered value.
*/
function my_activitypub_followers_row_actions_callback( Activitypub\string[] $actions, array $item ) {
// Your code here.
return $actions;
}
add_filter( 'activitypub_followers_row_actions', 'my_activitypub_followers_row_actions_callback', 10, 2 );-
Activitypub\string[]$actionsAn array of row action links. Defaults are -
array$itemThe current follower item.
apply_filters( 'activitypub_followers_row_actions', $actions, $item )Follow @[email protected] for updates and news.