LLMS_Metabox_Date_Field::output()
outputs the Html for the given field
Return Return
(void)
Source Source
File: includes/admin/post-types/meta-boxes/fields/llms.class.meta.box.date.php
public function output() { global $post; parent::output(); ?> <input type="text" name="<?php echo $this->field['id']; ?>" id="<?php echo $this->field['id']; ?>" class="<?php echo esc_attr( $this->field['class'] ); ?>" value="<?php echo ! empty( $this->meta ) ? $this->meta : ''; ?>" size="30" <?php if ( isset( $this->field['required'] ) && $this->field['required'] ) : ?> required="required" <?php endif; ?> <?php if ( isset( $this->field['placeholder'] ) ) : ?> placeholder="<?php echo $this->field['placeholder']; ?>" <?php endif; ?> <?php echo $this->get_data_attrs(); ?> /> <?php parent::close_output(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
?? | Introduced. |