Skip to content

mastodon_api_status_context

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

Auto-generated Example

add_filter(
    'mastodon_api_status_context',
    function (
        $context,
        $context_post_id,
        string $url
    ) {
        // Your code here
        return $context;
    },
    10,
    3
);

Parameters

  • $context
  • $context_post_id
  • string $url

Files

apply_filters( 'mastodon_api_status_context', $context, $context_post_id, $url )

Hooks

Clone this wiki locally