wc_order_milestone_egg_map
Filters the map of milestone order IDs to their milestone data.
Usage
add_filter( 'wc_order_milestone_egg_map', 'wp_kama_wc_order_milestone_egg_map_filter' ); /** * Function for `wc_order_milestone_egg_map` filter-hook. * * @param array> $milestone_map Map of order ID to milestone data. * * @return array
- $milestone_map(array<int,)
- array<string, string>> $milestone_map Map of order ID to milestone data.
Changelog
Since 10.9.0 Introduced. Where the hook is called
wc_order_milestone_egg_mapwoocommerce/src/Internal/Admin/OrderMilestoneEasterEgg.php 271return apply_filters( 'wc_order_milestone_egg_map', $milestone_map );Where the hook is used in WooCommerce
Usage not found.