How to add a custom field to all Woocommerce attribute terms using add_action
On the Woocommerce Product Attributes page, I have the following working for one Woocommerce attribute (called myattribute). The following adds the custom field to the add / edit page of the terms for myattribute: add_action( 'myattribute_add_form_fields', array( $this, 'add_new_field' ),…