filters not working after theme update

Posted in: Newspaper
Post count: 39

hello all filters i have added doesn’t work, can you pls help me?
Thanks

some of them:
add_filter(‘woocommerce_sale_flash’, ‘woo_custom_hide_sales_flash’);
function woo_custom_hide_sales_flash()
{
return false;
}

add_filter( ‘woocommerce_page_title’, ‘woo_shop_page_title’);

function woo_shop_page_title( $page_title ) {

if( ‘Shop’ == $page_title) {
return “”;
}
}

remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_price’, 10 );

Post count: 39

they are at the end of the theme functions.php file

Post count: 39

this is urgent please reply asap i have an online store! Thanks

Post count: 6600

Hi,

All those filters worked before the update? we haven’t done any changes to the theme that may affect the woocommerce. Could be from latest Woocommerce plugin version, are you sure that your filters work on the latest plugin version?

What you can try it’s to see if your filters work on a default WP theme. Can you switch to a default one and see if the filters work?

Thanks for the message!

Thanks

Post count: 39

ok will try later.is f.txt file one of your official files?
I have saved a page and found this fine on the folder
It seems contains functions
Thanks

Post count: 6600

Hi,

There isn’t any f.txt file in our theme files, maybe it came from one of the plugins.

Thanks

Post count: 39

if i send it to you, can you check it?
Thanks

Post count: 6600

Hi,

The theme dose not contain a file like that, if you want you can send us a screenshot with the file content.

Thanks

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.