GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Go to the source code of this file.
Variables | |
$add_query_args = apply_filters( 'gravityview/entry_link/add_query_args', true ) | |
$field_settings = $gravityview->field->as_configuration() | |
$form = ! empty( $gf_form->form ) ? $gf_form->form : $gf_form | |
$gf_form = isset( $gravityview->field->form_id ) ? \GV\GF_Form::by_id( $gravityview->field->form_id ) : $gravityview->view->form->form | |
$href = $gravityview->entry->get_permalink( $gravityview->view, $gravityview->request, $tag_atts ) | |
if( $add_query_args) | $link = gravityview_get_link( $href, $output, $tag_atts ) |
$link_text = empty( $field_settings['entry_link_text'] ) ? esc_html__( 'View Details', 'gk-gravityview' ) : $field_settings['entry_link_text'] | |
$output = apply_filters( 'gravityview_entry_link', GravityView_API::replace_variables( $link_text, $form, $entry ), $gravityview ) | |
if(! empty( $field_settings['new_window'])) global | $post |
$tag_atts = array() | |
if( $gravityview->entry->is_multi()) | else |
$add_query_args = apply_filters( 'gravityview/entry_link/add_query_args', true ) |
gravityview/entry_link/add_query_args
Modify whether to include passed $_GET parameters to the end of the url bool | $add_query_params | Whether to include passed $_GET parameters to the end of the Entry Link URL. Default: true. |
Definition at line 46 of file field-entry_link-html.php.
Referenced by GravityView_API\directory_link(), GravityView_API\entry_link(), and GravityView_Delete_Entry\get_delete_link().
$field_settings = $gravityview->field->as_configuration() |
Definition at line 25 of file field-entry_link-html.php.
$form = ! empty( $gf_form->form ) ? $gf_form->form : $gf_form |
Definition at line 16 of file field-entry_link-html.php.
$gf_form = isset( $gravityview->field->form_id ) ? \GV\GF_Form::by_id( $gravityview->field->form_id ) : $gravityview->view->form->form |
Definition at line 15 of file field-entry_link-html.php.
$href = $gravityview->entry->get_permalink( $gravityview->view, $gravityview->request, $tag_atts ) |
Definition at line 39 of file field-entry_link-html.php.
if ($add_query_args) $link = gravityview_get_link( $href, $output, $tag_atts ) |
Definition at line 52 of file field-entry_link-html.php.
Referenced by GravityView_API\directory_link(), GravityView_API\entry_link_html(), GravityView_Theme_Hooks_WPML\filter_gravityview_back_link(), GravityView_Entry_List\get_item_output(), gravityview_back_link(), gravityview_get_map_link(), gravityview_get_the_term_list(), GravityView_Field_Unsubscribe\modify_entry_value_unsubscribe(), and GravityView_Entry_Approval_Merge_Tags\replace_merge_tag().
$link_text = empty( $field_settings['entry_link_text'] ) ? esc_html__( 'View Details', 'gk-gravityview' ) : $field_settings['entry_link_text'] |
Definition at line 27 of file field-entry_link-html.php.
$output = apply_filters( 'gravityview_entry_link', GravityView_API::replace_variables( $link_text, $form, $entry ), $gravityview ) |
gravityview_field_entry_link
Modify the link HTML (here for backward compatibility) string | $link | HTML output of the link |
string | $href | URL of the link |
array | $entry | The GF entry array |
array | $field_settings | Settings for the particular GV field |
Definition at line 29 of file field-entry_link-html.php.
if (! empty($field_settings[ 'new_window'])) global $post |
Definition at line 33 of file field-entry_link-html.php.
$tag_atts = array() |
Definition at line 31 of file field-entry_link-html.php.
if ($gravityview->entry->is_multi()) else |
Definition at line 21 of file field-entry_link-html.php.