Skip to content

mastodon_api_edit_status

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

Auto-generated Example

add_filter(
    'mastodon_api_edit_status',
    function (
        $ret,
        $post_id,
        $status_text,
        $in_reply_to_id,
        $media_ids,
        $post_format,
        $visibility,
        $scheduled_at,
        $request
    ) {
        // Your code here
        return $ret;
    },
    10,
    9
);

Parameters

  • $ret
  • $post_id
  • $status_text
  • $in_reply_to_id
  • $media_ids
  • $post_format
  • $visibility
  • $scheduled_at
  • $request

Files

apply_filters( 'mastodon_api_edit_status', null, $post_id, $status_text, $in_reply_to_id, $media_ids, $post_format, $visibility, $scheduled_at, $request )

Hooks

Clone this wiki locally