Functions WooCommerce

Amagar editor principal de WooCommerce

Amagar l'editor principal de WooCommerce

/* amaga editor principal de woocommerce */ function reset_editor(){ global $_wp_post_type_features; $post_type="product"; $feature = "editor"; if ( !isset($_wp_post_type_features[$post_type]) ){ } elseif ( isset($_wp_post_type_features[$post_type][$feature]) ) unset($_wp_post_type_features[$post_type][$feature]); } add_action("init","reset_editor"); /* fi amaga editor principal de woocommerce */