In this quick tip, you will see that you can specify a default return value for the WordPress function get_option
(). When the option does not exist in the database, such as you are setting up a theme options page, then you can specify a return value as the default. Otherwise, you will get “false” back.
Did you learn something new? Share your thoughts.