I’m trying to use WordPress get)submit_button() to create some buttons on my plugin page to delete meta keys
i used
get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false, array( 'tabindex' => '6' ) );
have also created new nonce code for that.
but im getting – you have no permissions or something like that
how can i solve this ?
read the docs: http://codex.wordpress.org/Function_Reference/get_submit_button
The second argument is incorrect.
And the because of that the others are also incorrect