-
Notifications
You must be signed in to change notification settings - Fork 86
mastodon_api_status_by_url
github-actions[bot] edited this page Apr 9, 2026
·
2 revisions
/**
* Callback function for the 'mastodon_api_status_by_url' filter.
*
* @param mixed $ret
* @param mixed $get_param
* @return mixed The filtered value.
*/
function my_mastodon_api_status_by_url_callback( $ret, $get_param ) {
// Your code here.
return $ret;
}
add_filter( 'mastodon_api_status_by_url', 'my_mastodon_api_status_by_url_callback', 10, 2 );$ret$get_param
\apply_filters( 'mastodon_api_status_by_url', null, $request->get_param( 'q' ) )Follow @activitypub.blog@activitypub.blog for updates and news.