Skip to content

mastodon_api_status_by_url

github-actions[bot] edited this page Apr 14, 2026 · 4 revisions

Fetch a status by its remote URL.

Auto-generated Example

add_filter(
    'mastodon_api_status_by_url',
    function (
        Enable_Mastodon_Apps\Entity\Status $status = null,
        string $url
    ) {
        // Your code here
        return $status;
    },
    10,
    2
);

Parameters

  • Enable_Mastodon_Apps\Entity\Status|null $status The status data.
  • string $url The remote URL of the status.

Returns

Enable_Mastodon_Apps\Entity\Status|null The status data.

Files

apply_filters( 'mastodon_api_status_by_url', null, $remapped_url )

Hooks

Clone this wiki locally