Skip to content

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'.

Auto-generated Example

/**
 * 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 );

Parameters

  • Activitypub\string[] $actions An array of row action links. Defaults are
  • array $item The current blocked actor item.

Files

apply_filters( 'activitypub_blocked_actors_row_actions', $actions, $item )

← All Hooks

Users

Developers

Clone this wiki locally