Fragen\GitHub_Updater\Settings::token_callback_text PHP Method

token_callback_text() public method

Get the settings option array and print one of its values.
public token_callback_text ( $args )
$args
    public function token_callback_text($args)
    {
        $name = isset(parent::$options[$args['id']]) ? esc_attr(parent::$options[$args['id']]) : '';
        $type = isset($args['token']) ? 'password' : 'text';
        ?>
		<label for="<?php 
        esc_attr($args['id']);
        ?>
">
			<input class="ghu-callback-text" type="<?php 
        esc_attr_e($type);
        ?>
" name="github_updater[<?php 
        esc_attr_e($args['id']);
        ?>
]" value="<?php 
        esc_attr_e($name);
        ?>
">
		</label>
		<?php 
    }