'My IFrame', 'width' => 100, 'height' => 100, 'url' => 'http://www.google.com'); $options = (array) get_option('widget_iframe'); //If the user has not yet set the options or set them empty, take the defaults foreach ( $defaults as $key => $value ){ if ( !isset($options[$key]) || $options[$key] == ""){ $options[$key] = $defaults[$key]; } } $title = $options['title']; $width = $options['width']; $height = $options['height']; $url = $options['url']; ?>