LLMS_Metabox_Color_Field::output()

outputs the Html for the given field


Return Return

(void)


Top ↑

Source Source

File: includes/admin/post-types/meta-boxes/fields/llms.class.meta.box.color.php

	public function output() {

		global $post;

		parent::output();

		if ( ! $this->meta ) {
			$this->meta = $this->field['value'];
		}
		?>
		<input class="color-picker" type="text" name="<?php echo esc_attr( $this->field['id'] ); ?>" id="<?php echo esc_attr( $this->field['id'] ); ?>" value="<?php echo esc_attr( $this->meta ); ?>" data-default-color="<?php echo esc_attr( $this->field['value'] ); ?>"/>
			<br /><span class="description"><?php echo wp_kses_post( $this->field['desc'] ); ?></span>
		<?php
		parent::close_output();
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.