/** * Generates the settings form markup * * @since 1.0 * @access protected */ protected static function form() { self::$form = array('wp_dfp_nonce' => array('#type' => 'markup', '#markup' => wp_nonce_field(self::NONCE_ACTION, self::NONCE_NAME, true, false)), 'network_code' => array('#type' => 'text', '#name' => self::input_name('network_code'), '#label' => __('Network Code', 'wp-dfp'), '#description' => __('Your network code as found in your DFP account.', 'wp-dfp')), 'slot_prefix' => array('#type' => 'text', '#name' => self::input_name('slot_prefix'), '#label' => __('Slot Prefix', 'wp-dfp'), '#description' => __('If you would like, you can specifiy a prefix that will be added to every slot size', 'wp-dfp')), 'submit' => array('#type' => 'markup', '#markup' => get_submit_button())); }