mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-02 12:02:25 +08:00
7 lines
221 B
Text
7 lines
221 B
Text
add_filter( 'woocommerce_show_page_title', 'remove_category_title_from_product_archive' );
|
|
function remove_category_title_from_product_archive( $title ) {
|
|
if ( is_product_category() ) {
|
|
$title = false;
|
|
}
|
|
return $title;
|
|
}
|