mastodon_api_status_context - akirk/friends GitHub Wiki
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 )