LLMS_Metabox_Search_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.search.php

	public function output() {

		global $post;

		parent::output(); ?>

		<select
			id="<?php echo esc_attr( $this->field['id'] ); ?>"
			name="<?php echo esc_attr( $this->field['id'] ); ?>"
			class="<?php echo esc_attr( $this->field['class'] ); ?>"
		>
			<!--<option value="">None</option>-->

			<?php
			foreach ( $this->field['value'] as $option ) :
				if ( $option['key'] == $this->meta ) :
					?>
				<!--<option value="<?php echo $option['key']; ?>" selected="selected"><?php echo $option['title']; ?></option>-->

			<?php else : ?>
				<!--<option value="<?php echo $option['key']; ?>"><?php echo $option['title']; ?></option>-->

			<?php endif; ?>
			<?php endforeach; ?>
			</select>
		<?php
		parent::close_output();
	}


Top ↑

User Contributed Notes User Contributed Notes

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