Skip to content

mastodon_api_new_app

github-actions[bot] edited this page Apr 14, 2026 · 3 revisions

Fires after a new app is created.

Auto-generated Example

add_action(
    'mastodon_api_new_app',
    function ( Enable_Mastodon_Apps\Mastodon_App $app ) {
        // Your code here
    }
);

Parameters

  • Enable_Mastodon_Apps\Mastodon_App $app The newly created app.

Files

do_action( 'mastodon_api_new_app', $app )

Hooks

Clone this wiki locally