Skip to content

mastodon_api_account

github-actions[bot] edited this page Oct 6, 2025 · 1 revision

Auto-generated Example

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

Parameters

  • array $array Other variable names: $account
  • int $username_example_org Other variable names: $int

Files

apply_filters( 'mastodon_api_account', array(), '[email protected]' )
apply_filters( 'mastodon_api_account', $account, 1 )

← All Hooks

Users

Developers

Clone this wiki locally