woocommerce_product_option_terms

woocommerce_product_option_terms

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_product_option_terms') is found 1 times:

  • /includes/admin/meta-boxes/views/html-product-attribute-inner.php line 86
    				 * @param array|null $attribute_taxonomy Attribute taxonomy object.
    				 * @param number $i Attribute index.
    				 * @param WC_Product_Attribute $attribute Attribute object.
    				 */
    				do_action( 'woocommerce_product_option_terms', $attribute_taxonomy, $i, $attribute );
    			} else {
    				?>
    				<textarea name="attribute_values&#91;<?php echo esc_attr( $i ); ?>]" cols="5" rows="5"><?php echo esc_textarea( wc_implode_text_attributes( $attribute->get_options() ) ); ?></textarea>
    				<?php
    			}
    			?>