Skip to content

mastodon_api_status_context

Alex Kirk edited this page May 11, 2024 · 1 revision

Auto-generated Example

add_filter(
    'mastodon_api_status_context',
    function (
        $context,
        $post_id,
        $guid
    ) {
        // Your code here
        return $context;
    },
    10,
    3
);

Parameters

  • $context
  • $post_id
  • $guid

Files

apply_filters( 'mastodon_api_status_context', $context, $post_id, $post->guid )

Hooks

Clone this wiki locally