-
Notifications
You must be signed in to change notification settings - Fork 12
micropub_syndication
github-actions[bot] edited this page Jan 10, 2026
·
2 revisions
Fires when syndication targets are requested for a post.
/**
* Fires when syndication targets are requested for a post.
*
* @param int $post_id
* @param array $syndicate_to
*/
function my_micropub_syndication_callback( int $post_id, array $syndicate_to ) {
// Your code here.
}
add_action( 'micropub_syndication', 'my_micropub_syndication_callback', 10, 2 );-
int$post_idThe post ID. -
array$syndicate_toArray of syndication target UIDs.
\do_action( 'micropub_syndication', $args['ID'], $synd_requested )