Skip to content

microsub_endpoint

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

Filters the Microsub endpoint URL.

Auto-generated Example

/**
 * 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' );

Parameters

  • string $endpoint The Microsub endpoint URL.

Files

\apply_filters( 'microsub_endpoint', \rest_url( 'microsub/1.0/endpoint' ) )

← All Hooks

Clone this wiki locally