Error when renaming option
I think you need to set a default value when you use get_option function plugin_setting_url() { $options = get_option(‘plugin_options’, array(’embedded_url’=>”)); echo “”; } Unless plugin_options already exists, then you would need to use wp_parse_args to merge two arrays. function plugin_setting_url() { $options = wp_parse_args(get_option(‘plugin_options’,array()),array(’embedded_url’=>”)); echo “”; }