芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/the-events-calendar/src/functions/advanced-functions/rest-v1.php
get_url_prefix(); } } if ( ! function_exists( 'tribe_events_rest_url' ) ) { /** * Retrieves the URL to a TEC REST endpoint on a site. * * Note: The returned URL is NOT escaped. * * @global WP_Rewrite $wp_rewrite * * @param string $path Optional. TEC REST route. Default '/'. * @param string $scheme Optional. Sanitization scheme. Default 'rest'. * @param int $blog_id Optional. Blog ID. Default of null returns URL for current blog. * * @return string Full URL to the endpoint. */ function tribe_events_rest_url( $path = '/', $scheme = 'rest', $blog_id = null ) { return tribe( 'tec.rest-v1.main' )->get_url( $path, $scheme, $blog_id ); } }