GIF89A;
Server : Microsoft-IIS/10.0 System : Windows NT HMW9050 6.2 build 9200 (Unknow Windows version Standard Edition) i586 User : fatorc ( 0) PHP Version : 5.3.28 Disable Function : escapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_open, shell_exec, system, dl, popen, php_check_syntax, php_strip_whitespace, symlink, link, openlog, apache_child_terminate Directory : e:/home/fatorc/Web/wp-content/plugins/menu-icons/includes/library/icon-picker/includes/fields/ |
Upload File : |
<?php /** * 'icon' field type for Custom Meta Boxes * * @link https://github.com/humanmade/Custom-Meta-Boxes/wiki/Adding-your-own-field-types CMB Wiki * @version 0.1.0 * @since Icon_Picker 0.2.0 */ class Icon_Picker_Field_Cmb extends CMB_Field { /** * Constructor * * @since 0.1.0 * @see {CMB_Field::__construct()} */ public function __construct( $name, $title, array $values, $args = array() ) { parent::__construct( $name, $title, $values, $args ); Icon_Picker::instance()->load(); } /** * Display the field * * @since 0.1.0 * @see {CMB_Field::html()} */ public function html() { icon_picker_field( array( 'id' => $this->id, 'name' => $this->get_the_name_attr(), 'value' => $this->get_value(), ) ); } }