GravityView  2.1.1
The best, easiest way to display Gravity Forms entries on your website.
Variables
search-field-link.php File Reference

Go to the source code of this file.

Variables

 $base_url = GravityView_Widget_Search::get_search_form_action()
 
 $gravityview_view = GravityView_View::getInstance()
 Display the search LINK input field. More...
 
if(empty( $search_field['choices'])) $links_label = empty( $search_field['label'] ) ? __( 'Show only:', 'gravityview' ) : $search_field['label']
 
 $links_sep = apply_filters( 'gravityview/extension/search/links_sep', ' | ' )
 
 $search_field = $gravityview_view->search_field
 
 $search_value = \GV\Utils::_GET( $search_field['name'] )
 
 $view_id = $gravityview_view->getViewId()
 

Variable Documentation

◆ $base_url

Definition at line 13 of file search-field-link.php.

◆ $gravityview_view

$gravityview_view = GravityView_View::getInstance()

Display the search LINK input field.

See also
class-search-widget.php

Definition at line 8 of file search-field-link.php.

◆ $links_label

$links_label = empty( $search_field['label'] ) ? __( 'Show only:', 'gravityview' ) : $search_field['label']
Runs Filter:
gravityview/extension/search/links_label Change the label for the "Link" search bar input type
Since
1.17 Use search field label as default value, if set. Before that, it was hard-coded to "Show only:"
Parameters
string$links_labelDefault: Show only: if search field label is not set. Otherwise, search field label.

Definition at line 21 of file search-field-link.php.

◆ $links_sep

$links_sep = apply_filters( 'gravityview/extension/search/links_sep', ' | ' )
Runs Filter:
gravityview/extension/search/links_sep Change what separates search bar "Link" input type links
Parameters
string$links_sepDefault:  |  Used to connect multiple links

Definition at line 34 of file search-field-link.php.

◆ $search_field

$search_field = $gravityview_view->search_field

Definition at line 10 of file search-field-link.php.

◆ $search_value

$search_value = \GV\Utils::_GET( $search_field['name'] )

Definition at line 44 of file search-field-link.php.

◆ $view_id

$view_id = $gravityview_view->getViewId()

Definition at line 9 of file search-field-link.php.