Skip to content

micropub_syndicate to

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

Filters the list of syndication targets.

Auto-generated Example

/**
 * Filters the list of syndication targets.
 *
 * @param array $synd_urls 
 * @param int   $user_id 
 * @param array $input 
 * @return array The filtered value.
 */
function my_micropub_syndicate-to_callback( array $synd_urls, int $user_id, array $input ) {
    // Your code here.
    return $synd_urls;
}
add_filter( 'micropub_syndicate-to', 'my_micropub_syndicate-to_callback', 10, 3 );

Parameters

  • array $synd_urls Array of syndication target URLs. Empty by default.
  • int $user_id The user ID.
  • array $input The Micropub request input.

Files

\apply_filters( 'micropub_syndicate-to', array(), $user_id, $input )

← All Hooks

Clone this wiki locally