-
-
Notifications
You must be signed in to change notification settings - Fork 31
webmention_endpoint
github-actions[bot] edited this page Jan 3, 2026
·
1 revision
/**
* Callback function for the 'webmention_endpoint' filter.
*
* @param mixed $rest_url
* @return mixed The filtered value.
*/
function my_webmention_endpoint_callback( $rest_url ) {
// Your code here.
return $rest_url;
}
add_filter( 'webmention_endpoint', 'my_webmention_endpoint_callback' );$rest_url
apply_filters( 'webmention_endpoint', get_rest_url( null, '/webmention/1.0/endpoint' ) )