Ok, but why if I in plugin setting deactivate generate meta tags for product category, it not deactivate generate meta tags for product category. I have premium version plugin, but it not have this functionality.
Why this function disable all functions, include mine code?
https://developer.yoast.com/customization/yoast-seo/disabling-yoast-seo
I want this function disable ONLY yoast seo code.
And API title tag coming soon…
https://developer.yoast.com/features/seo-tags/titles/api
Maybe could you help with this function, please?
Find the way, in function.php add this code^
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );
add_action( 'woocommerce_after_shop_loop_item', 'my_woocommerce_template_loop_add_to_cart', 10 );
function my_woocommerce_template_loop_add_to_cart() {
echo '<form action="' . get_permalink() . '" method="get">
<button type="submit" class="single_add_to_cart_button button alt">Купить</button>
</form>';
}