-
Notifications
You must be signed in to change notification settings - Fork 0
microsub_endpoint
github-actions[bot] edited this page Jan 2, 2026
·
4 revisions
Filters the Microsub endpoint URL.
/**
* Filters the Microsub endpoint URL.
*
* @param string $endpoint
* @return string The filtered value.
*/
function my_microsub_endpoint_callback( string $endpoint ) {
// Your code here.
return $endpoint;
}
add_filter( 'microsub_endpoint', 'my_microsub_endpoint_callback' );-
string$endpointThe Microsub endpoint URL.
\apply_filters( 'microsub_endpoint', \rest_url( 'microsub/1.0/endpoint' ) )