aioseo_woocommerce_product_attributes

aioseo_woocommerce_product_attributes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.7

apply_filters('aioseo_woocommerce_product_attributes') is found 1 times:

  • /app/Common/Traits/Helpers/Wp.php line 291
    			// We need to exclude product attributes from this list as well.
    			if (
    				'pa_' === substr( $taxObject->name, 0, 3 ) &&
    				'manage_product_terms' === $taxObject->cap->manage_terms &&
    				! apply_filters( 'aioseo_woocommerce_product_attributes', false )
    			) {
    				continue;
    			}
    
    			if ( $namesOnly ) {
    				$taxonomies[] = $taxObject->name;