field = $field; $this->value = $value; $this->args = $parent->args; } /** * Field Render Function. * * Takes the vars and outputs the HTML for the field in the settings * * @since Vision_Options 1.0.0 */ function render() { echo '

' . __('The fonts provided below are free to use custom fonts from the Google Web Fonts directory', Vision_TEXT_DOMAIN) . '

'; echo ''; echo '

Lorem Ipsum is simply dummy text

'; echo (isset($this->field['desc']) && !empty($this->field['desc'])) ? ' ' . $this->field['desc'] . '' : ''; } /** * Enqueue Function. * * If this field requires any scripts, or css define this function and register/enqueue the scripts/css * * @since Vision_Options 1.0.0 */ function enqueue() { wp_enqueue_script( 'vision-opts-googlefonts-js', Vision_OPTIONS_URL . 'fields/google_webfonts/jquery.fontselect.js', array('jquery'), time(), true ); } }