-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_blocked_actors_row_actions
github-actions[bot] edited this page Nov 14, 2025
·
3 revisions
Filters the array of row action links on the Blocked Actors list table.
This filter is evaluated for each blocked actor item in the list table.
'Unblock'.
/**
* Filters the array of row action links on the Blocked Actors list table.
*
* This filter is evaluated for each blocked actor item in the list table.
*
*
* 'Unblock'.
*
* @param Activitypub\string[] $actions
* @param array $item
* @return Activitypub\string[] The filtered value.
*/
function my_activitypub_blocked_actors_row_actions_callback( Activitypub\string[] $actions, array $item ) {
// Your code here.
return $actions;
}
add_filter( 'activitypub_blocked_actors_row_actions', 'my_activitypub_blocked_actors_row_actions_callback', 10, 2 );-
Activitypub\string[]$actionsAn array of row action links. Defaults are -
array$itemThe current blocked actor item.
apply_filters( 'activitypub_blocked_actors_row_actions', $actions, $item )Follow @[email protected] for updates and news.