Added 'woocommerce_variable_product_before_variations' hook to variation tab

This commit is contained in:
bernat torras 2018-03-28 16:02:06 +02:00
parent a6d82431bb
commit 47d85844d8
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ if ( ! defined( 'ABSPATH' ) ) {
</div>
<div class="clear"></div>
</div>
<?php do_action( 'woocommerce_variable_product_before_variations' ); ?>
<div class="toolbar toolbar-top">
<select id="field_to_edit" class="variation_actions">
<option data-global="true" value="add_variation"><?php esc_html_e( 'Add variation', 'woocommerce' ); ?></option>