Hi I just wanted to ask if there is a possible way when the word edit was press three times, the edit will be disable. on the image I have attach is a multivendor page, vendors can edit there products, what I wanted to achieve is when the edit was press 3x, the edit will be disabled. and ofcourse the edit button will be disabled only on product01, the product02 edit word won't be affected.
I found the edit code in php here it is:
<span class="edit"><a href="<?php echo dokan_edit_product_url( $post->ID ); ?>"><?php _e( 'Edit', 'dokan' ); ?></a> | </span>
can anyone help me? Thankyou