woocommerce_attribute_show_in_nav_menus filter-hookWC 1.0

Usage

add_filter( 'woocommerce_attribute_show_in_nav_menus', 'wp_kama_woocommerce_attribute_show_in_nav_menus_filter', 10, 2 );

/**
 * Function for `woocommerce_attribute_show_in_nav_menus` filter-hook.
 * 
 * @param  $false 
 * @param  $name  
 *
 * @return 
 */
function wp_kama_woocommerce_attribute_show_in_nav_menus_filter( $false, $name ){

	// filter...
	return $false;
}
$false
-
$name
-

Where the hook is called

WC_Post_Types::register_taxonomies()
woocommerce_attribute_show_in_nav_menus
woocommerce/includes/class-wc-post-types.php 263
'show_in_nav_menus'     => 1 === $tax->attribute_public && apply_filters( 'woocommerce_attribute_show_in_nav_menus', false, $name ),

Where the hook is used in WooCommerce

Usage not found.