WordPress禁用Embeds admin Wordpress 2020-02-19 42 次浏览 代码放入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’, ) ) 阅读更多 »