You have 1
hardcoded as the row number in mon_action()
.
It should be delete_row( 'field_5c8fa4201b65f', (int) $_POST['param'], $post_id );
You have 1
hardcoded as the row number in mon_action()
.
It should be delete_row( 'field_5c8fa4201b65f', (int) $_POST['param'], $post_id );