-
Notifications
You must be signed in to change notification settings - Fork 85
mastodon_api_account
github-actions[bot] edited this page Oct 6, 2025
·
1 revision
/**
* Callback function for the 'mastodon_api_account' filter.
*
* @param array $array
* @param int $username_example_org
* @return array The filtered value.
*/
function my_mastodon_api_account_callback( array $array, int $username_example_org ) {
// Your code here.
return $array;
}
add_filter( 'mastodon_api_account', 'my_mastodon_api_account_callback', 10, 2 );
-
array
$array
Other variable names:$account
-
int
$username_example_org
Other variable names:$int
apply_filters( 'mastodon_api_account', array(), '[email protected]' )
apply_filters( 'mastodon_api_account', $account, 1 )
Follow @[email protected] for updates and news.