标签: Embeds

WordPress禁用Embeds

代码放入functions.php中: function disable_embeds_init() { /* @var WP $wp */ global $wp; // Remove the embed query var. $wp->public_query_vars = array_diff( $wp->public_query_vars, array( ’embed’, ) )
阅读更多 »