array('url')); } /** * @param string $field * * @return string */ protected function get_title($field) { switch ($field) { case 'client_name': return esc_html__('Client: Name', 'livemesh-el-addons'); case 'url': return esc_html__('Client: Website URL', 'livemesh-el-addons'); default: return ''; } } /** * @param string $field * * @return string */ protected function get_editor_type($field) { switch ($field) { case 'client_name': return 'LINE'; case 'url': return 'LINK'; default: return ''; } } } }