-
Notifications
You must be signed in to change notification settings - Fork 0
microsub_follow
github-actions[bot] edited this page Jan 2, 2026
·
3 revisions
/**
* Callback function for the 'microsub_follow' filter.
*
* @param mixed $ret
* @param mixed $channel
* @param string $url
* @param mixed $user_id
* @return mixed The filtered value.
*/
function my_microsub_follow_callback( $ret, $channel, string $url, $user_id ) {
// Your code here.
return $ret;
}
add_filter( 'microsub_follow', 'my_microsub_follow_callback', 10, 4 );$ret$channel-
string$url $user_id
\apply_filters( 'microsub_follow', null, $channel, $url, $user_id )