woocommerce_taxonomy_objects_

woocommerce_taxonomy_objects_

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_taxonomy_objects_') is found 2 times:

  • /includes/admin/class-wc-admin-importers.php line 194
    								// Register the taxonomy now so that the import works!
    								register_taxonomy(
    									$term['domain'],
    									// phpcs:ignore
    									apply_filters( 'woocommerce_taxonomy_objects_' . $term['domain'], array( 'product' ) ),
    									// phpcs:ignore
    									apply_filters(
    										'woocommerce_taxonomy_args_' . $term['domain'],
    										array(
    											'hierarchical' => true,
    											'show_ui'      => false,
    
  • /includes/import/abstract-wc-product-importer.php line 690
    		// Register as taxonomy while importing.
    		$taxonomy_name = wc_attribute_taxonomy_name( $attribute_name );
    		register_taxonomy(
    			$taxonomy_name,
    			apply_filters( 'woocommerce_taxonomy_objects_' . $taxonomy_name, array( 'product' ) ),
    			apply_filters(
    				'woocommerce_taxonomy_args_' . $taxonomy_name,
    				array(
    					'labels'       => array(
    						'name' => $raw_name,
    					),