>if (get_option("myoption")=="") > update_option("myoption","defaultvalue"); > >and later... > >get_option("myoption"); First thing: get_option('doesnotexist') returns false, not an empty string. Then, what about the following: if (!get_option('myoption')) { update_option('myoption', 'default'); wp_cache_flush(); } Ozh