-
Notifications
You must be signed in to change notification settings - Fork 12
micropub_syndicate to
github-actions[bot] edited this page Jan 10, 2026
·
2 revisions
Filters the list of syndication targets.
/**
* 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 );-
array$synd_urlsArray of syndication target URLs. Empty by default. -
int$user_idThe user ID. -
array$inputThe Micropub request input.
\apply_filters( 'micropub_syndicate-to', array(), $user_id, $input )