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
$endpoint
\apply_filters( 'microsub_endpoint', \rest_url( 'microsub/1.0/endpoint' ) )
← All Hooks
There was an error while loading. Please reload this page.