I want to know this is right method or not in WP Plugin Delete Button inside a form
submit_button( ‘Delete’, ‘del’, ‘submit’, false, array(
‘onclick’ => ‘return confirm("Are you sure you want to delete this ? ");’
Or any other method to do.
Any help will be appreciated.