field_before( $args );
?>
field_description( $args );
$this->field_after();
}
/**
* Text Callback
*
* Renders text fields.
*
* @param array $args Arguments passed by the setting
*
* @param string $value
*/
public function text_callback( $args, $value = null ) {
if ( 'text' !== $args['type'] ) {
$args['class'] .= ' pum-field-text';
}
$this->field_before( $args );
if ( ! $value ) {
$value = isset( $args['std'] ) ? $args['std'] : '';
}
$this->field_label( $args );
?>
/>
field_description( $args );
$this->field_after();
}
/**
* Textarea Callback
*
* Renders textarea fields.
*
* @param array $args Arguments passed by the setting
*
* @param string $value
*/
public function textarea_callback( $args, $value = null ) {
$this->field_before( $args );
if ( ! $value ) {
$value = isset( $args['std'] ) ? $args['std'] : '';
}
$this->field_label( $args );
?>
|