rest_url_prefix

rest_url_prefix

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('rest_url_prefix') is found 1 times:

  • /wp-includes/rest-api.php line 470
    	 * @since 4.4.0
    	 *
    	 * @param string $prefix URL prefix. Default 'wp-json'.
    	 */
    	return apply_filters( 'rest_url_prefix', 'wp-json' );
    }
    
    /**
     * Retrieves the URL to a REST endpoint on a site.
     *
     * Note: The returned URL is NOT escaped.