rest_url

rest_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('rest_url') is found 1 times:

  • /wp-includes/rest-api.php line 525
    	 * @param string   $path    REST route.
    	 * @param int|null $blog_id Blog ID.
    	 * @param string   $scheme  Sanitization scheme.
    	 */
    	return apply_filters( 'rest_url', $url, $path, $blog_id, $scheme );
    }
    
    /**
     * Retrieves the URL to a REST endpoint.
     *
     * Note: The returned URL is NOT escaped.
    

See this hook used in plugins: