• Disable the button! Why? We need this button. Please fix it. Thank you for your good plugin

    <?php
    $fields = wvs_taxonomy_meta_fields( $attribute_taxonomy->attribute_type );

    if ( ! empty( $fields ) ): ?>
    <button disabled=”disabled” class=”button fr plus wvs_add_new_attribute” data-dialog_title=”<?php printf( esc_html__( ‘Add new %s’, ‘woo-variation-swatches’ ), esc_attr( $attribute_taxonomy->attribute_label ) ) ?>”><?php esc_html_e( ‘Add new’, ‘woo-variation-swatches’ ); ?></button>
    <?php else: ?>
    <button class=”button fr plus add_new_attribute”><?php esc_html_e( ‘Add new’, ‘woo-variation-swatches’ ); ?></button>
    <?php endif; ?>
    <?php

The topic ‘Disable the button! add_new_attribute’ is closed to new replies.