updated plugin GP Premium
version 2.1.1
This commit is contained in:
@ -253,7 +253,14 @@ class GeneratePress_Block_Element {
|
||||
}
|
||||
|
||||
remove_action( 'generate_archive_title', 'generate_archive_title' );
|
||||
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
|
||||
|
||||
// WooCommerce removal.
|
||||
if ( class_exists( 'WooCommerce' ) ) {
|
||||
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
|
||||
add_filter( 'woocommerce_show_page_title', '__return_false' );
|
||||
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description' );
|
||||
remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description' );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $disable_primary_post_meta ) {
|
||||
|
Reference in New Issue
Block a user