Skip to content

mastodon_api_unreact

github-actions[bot] edited this page Jul 24, 2026 · 27 revisions

Auto-generated Example

add_action(
    'mastodon_api_unreact',
    function (
        $post_id,
        $this-_get_reaction_for_status_action,
        string $favourite
    ) {
        // Your code here
    },
    10,
    3
);

Parameters

  • $post_id
  • $this-_get_reaction_for_status_action
  • string $favourite Other variable names: $bookmark

Files

do_action( 'mastodon_api_unreact', $post_id, $this->get_reaction_for_status_action( 'favourite' ), 'favourite' )
do_action( 'mastodon_api_unreact', $post_id, $this->get_reaction_for_status_action( 'bookmark' ), 'bookmark' )

Hooks

Clone this wiki locally