delete_option with button?
-
Hi,
I hope this is the right place .
I write to my template Page Options
I wanted to know if I put something in , for example, an image I want to have a button next to it
” delete ” when pressed would then jump AlertIf you click OK so I want to do
delete_option command
If not do not do anything .I gave onclick=”validate_delete” to delete
The problem that I do not know how to turn the OK from the popup to delete_option command..
( <?php delete_option( $option ); ?> )Thank you
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘delete_option with button?’ is closed to new replies.