1
我試過以下功能來擺脫updater刪除,但它不會消失。Woocommerce更新刪除
/*********************************************************************************************/
/********************************** Remove WooCommerce Updater *******************************/
/*********************************************************************************************/
remove_action('admin_notices', 'woothemes_updater_notice');
我也試過這樣:
<?php
/*
Plugin Name: My Admin Theme
Plugin URI: http://example.com
Description: My WordPress Admin Theme - Upload and Activate.
Author: Ms. WordPress
Version: 1.0
Author URI: http://example.com
*/
function my_admin_theme_style() {
wp_enqueue_style('my-admin-theme', plugins_url('wp-admin.css', __FILE__));
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');
add_action('login_enqueue_scripts', 'my_admin_theme_style');
?>
與連接到它的CSS:
.updated.fade {display:none;}
沒有什麼作品。那裏有任何「天才」?
現在,這是我拿到後將你的代碼添加到我的functions.php [鏈接] http://postimg.org/image/w043eo76v/ [鏈接] – user3351714
哪個版本。 wp&wooc。你在跑嗎? –
WC版本:\t 2.0.20 WC數據庫版本:\t 2.0.5 WP版本:\t WP 3.8.1 Web服務器信息:\t阿帕奇 PHP版本:\t 5.3.24 – user3351714