woocommerce_attribute_show_in_nav_menus

woocommerce_attribute_show_in_nav_menus

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_attribute_show_in_nav_menus') is found 1 times:

  • /includes/class-wc-post-types.php line 263
    						'query_var'             => 1 === $tax->attribute_public,
    						'rewrite'               => false,
    						'sort'                  => false,
    						'public'                => 1 === $tax->attribute_public,
    						'show_in_nav_menus'     => 1 === $tax->attribute_public && apply_filters( 'woocommerce_attribute_show_in_nav_menus', false, $name ),
    						'capabilities'          => array(
    							'manage_terms' => 'manage_product_terms',
    							'edit_terms'   => 'edit_product_terms',
    							'delete_terms' => 'delete_product_terms',
    							'assign_terms' => 'assign_product_terms',
    						),