'setting_id', // Unique id * 'title' => 'My Setting', // Title or label for the setting * 'description' => 'Description', // Help text description * 'options' => array( * 'value' => 'Name' * ), // The radio buttons values and text * ); * ); * * @since 2.0 * @package Simple Admin Pages */ class sapAdminPageSettingRadio_2_7_4 extends sapAdminPageSetting_2_7_4 { public $sanitize_callback = 'sanitize_text_field'; /** * Display this setting * @since 2.0 */ public function display_setting() { $input_name = $this->get_input_name(); if ( empty( $this->value ) ) { $this->value = $this->get_default_setting(); } ?>
display_description(); } }