-
Notifications
You must be signed in to change notification settings - Fork 85
activitypub_following_row_actions
github-actions[bot] edited this page Nov 14, 2025
·
5 revisions
Filters the array of row action links on the Following list table.
This filter allows you to modify the row actions for each following item in the Following list table.
/**
* Filters the array of row action links on the Following list table.
*
* This filter allows you to modify the row actions for each following item in the Following list table.
*
* @param mixed $string[]
* @param array $item
* @return mixed The filtered value.
*/
function my_activitypub_following_row_actions_callback( string[], array $item ) {
// Your code here.
return string[];
}
add_filter( 'activitypub_following_row_actions', 'my_activitypub_following_row_actions_callback', 10, 2 );-
string[]$actions An array of row action links. Defaults include 'Unfollow'. Other variable names:$actions -
array$itemThe current following item.
apply_filters( 'activitypub_following_row_actions', $actions, $item )Follow @activitypub.blog@activitypub.blog for updates and news.