Skip to content

mastodon_api_new_post_format

Alex Kirk edited this page Feb 8, 2025 · 13 revisions

Auto-generated Example

add_filter(
    'mastodon_api_new_post_format',
    function ( $app_post_formats ) {
        // Your code here
        return $app_post_formats;
    }
);

Parameters

  • $app_post_formats

Files

apply_filters( 'mastodon_api_new_post_format', $app_post_formats[0] )
apply_filters( 'mastodon_api_new_post_format', $app_post_formats[0] )

Hooks

Clone this wiki locally