woocommerce_attribute_taxonomies

woocommerce_attribute_taxonomies

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_attribute_taxonomies') is found 1 times:

  • /includes/wc-attribute-functions.php line 73
    	 * Filter attribute taxonomies.
    	 *
    	 * @param array $attribute_taxonomies Results of the DB query. Each taxonomy is an object.
    	 */
    	$raw_attribute_taxonomies = (array) array_filter( apply_filters( 'woocommerce_attribute_taxonomies', $raw_attribute_taxonomies ) );
    
    	// Index by ID for easier lookups.
    	$attribute_taxonomies = array();
    
    	foreach ( $raw_attribute_taxonomies as $result ) {
    		$attribute_taxonomies[ 'id:' . $result->attribute_id ] = $result;