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.4.2

apply_filters('aioseo_woocommerce_product_attributes') is found 1 times:

  • /app/Common/Traits/Helpers/Wp.php line 278
    			// 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;