Merge pull request #31565 from johnregan3/31252-woo-var-header-hook
Add $loop var to woocommerce_variation_header hook
This commit is contained in:
commit
ee76f6939d
|
@ -57,8 +57,9 @@ defined( 'ABSPATH' ) || exit;
|
|||
* @since 3.6.0
|
||||
*
|
||||
* @param WP_Post $variation Post data.
|
||||
* @param int $loop Position in the loop.
|
||||
*/
|
||||
do_action( 'woocommerce_variation_header', $variation );
|
||||
do_action( 'woocommerce_variation_header', $variation, $loop );
|
||||
?>
|
||||
</h3>
|
||||
<div class="woocommerce_variable_attributes wc-metabox-content" style="display: none;">
|
||||
|
|
Loading…
Reference in New Issue