Skip to content

micropub_syndication

github-actions[bot] edited this page Jan 10, 2026 · 2 revisions

Fires when syndication targets are requested for a post.

Auto-generated Example

/**
 * 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 );

Parameters

  • int $post_id The post ID.
  • array $syndicate_to Array of syndication target UIDs.

Files

\do_action( 'micropub_syndication', $args['ID'], $synd_requested )

← All Hooks

Clone this wiki locally