GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Go to the source code of this file.
Variables | |
$default_option = apply_filters('gravityview/extension/search/select_default', ( '' === $placeholder ? '—' : $placeholder ), 'multiselect' ) | |
if(empty( $search_field['choices'])) | $gf_field = GFAPI::get_field( $gravityview_view->getForm(), $search_field['key'] ) |
$gravityview_view = GravityView_View::getInstance() | |
$placeholder = \GV\Utils::get( $gf_field, 'placeholder', '' ) | |
$search_field = $gravityview_view->search_field | |
$view_id = $gravityview_view->getViewId() | |
endforeach | |
if (! gv_empty($search_field[ 'label'], false, false)) | |
$default_option = apply_filters('gravityview/extension/search/select_default', ( '' === $placeholder ? '—' : $placeholder ), 'multiselect' ) |
gravityview/extension/search/select_default
Define the text for the default option in a select (multi or single dropdown) string | $default_option | Default: — (—) |
string | $field_type | Field type: "select" or "multiselect" |
Definition at line 27 of file search-field-multiselect.php.
if (empty($search_field[ 'choices'])) $gf_field = GFAPI::get_field( $gravityview_view->getForm(), $search_field['key'] ) |
Definition at line 18 of file search-field-multiselect.php.
$gravityview_view = GravityView_View::getInstance() |
Definition at line 8 of file search-field-multiselect.php.
$placeholder = \GV\Utils::get( $gf_field, 'placeholder', '' ) |
$search_field = $gravityview_view->search_field |
Definition at line 10 of file search-field-multiselect.php.
$view_id = $gravityview_view->getViewId() |
Definition at line 9 of file search-field-multiselect.php.
endforeach |
Definition at line 39 of file search-field-multiselect.php.
Referenced by GravityView_Admin_Views\render_active_areas(), GravityView_FieldType_radio\render_input(), GravityView_FieldType_select\render_input(), and GravityView_FieldType_multiselect\render_input().
if(! gv_empty( $search_field['label'], false, false)) |
Definition at line 31 of file search-field-multiselect.php.