
如何使用Adminer通过单个PHP文件轻松管理数据库
clean_url ( $url, $protocols = null, $context = 'display' )
clean_url: 这个函数用于清理特定URL的缓存: 当这个函数被调用时,以一个URL为参数,它清除了该特定URL的缓存。
检查和清理一个URL。
一些字符被从URL中删除。如果该URL是用于显示的(默认行为),安培数也会被替换。’clean_url’过滤器被应用于返回的已清理的URL。
function clean_url( $url, $protocols = null, $context = 'display' ) { if ( $context == 'db' ) _deprecated_function( 'clean_url( $context = 'db' )', '3.0.0', 'sanitize_url()' ); else _deprecated_function( __FUNCTION__, '3.0.0', 'esc_url()' ); return esc_url( $url, $protocols, $context ); }