woocommerce_taxonomy_objects_

woocommerce_taxonomy_objects_

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_taxonomy_objects_') is found 2 times:

  • /includes/admin/class-wc-admin-importers.php line 185
     
    								// Register the taxonomy now so that the import works!
    								register_taxonomy(
    									$term['domain'],
    									apply_filters( 'woocommerce_taxonomy_objects_' . $term['domain'], array( 'product' ) ),
    									apply_filters(
    										'woocommerce_taxonomy_args_' . $term['domain'],
    										array(
    											'hierarchical' => true,
    											'show_ui'      => false,
    											'query_var'    => true,
    
  • /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,
    					),