Return to Snippet

Revision: 38475
at January 3, 2011 21:52 by Farhan


Initial Code
<?php if (get_option('custom-option')) { ?>
Yep
<?php } else { ?>
Nope
<?php } ?>

Initial URL

                                

Initial Description
This is to check if a custom option exist from the admin panel.

Initial Title
Check Custom WP Options

Initial Tags
wordpress

Initial Language
PHP