iPascalCase
11/26/2017 - 11:24 PM

remove "woocommerce_before_main_content" and "woocommerce_result_count" also remove the "woocommere_breadcrumb"

remove "woocommerce_before_main_content" and "woocommerce_result_count" also remove the "woocommere_breadcrumb"

add_action( 'init', 'remove_result_count');
function remove_result_count() {
    remove_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 20, 0);
}
add_action( 'init', 'remove_breadcrumb_action' );
function remove_breadcrumb_action() {
    remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);
}