woocommerce_marketplace_menu_items filter-hookWC 8.0

The marketplace items used in the menu.

Usage

add_filter( 'woocommerce_marketplace_menu_items', 'wp_kama_woocommerce_marketplace_menu_items_filter' );

/**
 * Function for `woocommerce_marketplace_menu_items` filter-hook.
 * 
 * @param  $marketplace_pages 
 *
 * @return 
 */
function wp_kama_woocommerce_marketplace_menu_items_filter( $marketplace_pages ){

	// filter...
	return $marketplace_pages;
}
$marketplace_pages
-

Changelog

Since 8.0 Introduced.

Where the hook is called

Marketplace::get_marketplace_pages()
woocommerce_marketplace_menu_items
woocommerce/src/Internal/Admin/Marketplace.php 82
return apply_filters( 'woocommerce_marketplace_menu_items', $marketplace_pages );

Where the hook is used in WooCommerce

Usage not found.