9 if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) {
10 gravityview()->log->error(
'{file} template loaded without context', array(
'file' => __FILE__ ) );
15 $form = $gravityview->view->form->form;
16 $entry = $gravityview->entry->as_entry();
19 if ( ! empty(
$value ) && function_exists(
'gravityview_format_link' ) ) {
27 if ( ! empty( $anchor_text ) ) {
44 echo esc_html( esc_url_raw(
$value ) );
if(! isset( $gravityview)||empty( $gravityview->template)) $value
The default website field output template.
gravityview_get_link( $href='', $anchor_text='', $atts=array())
Generate an HTML anchor tag with a list of supported attributes.
gravityview_format_link( $value=null)
Convert a whole link into a shorter link for display.
static replace_variables( $text, $form=array(), $entry=array(), $url_encode=false, $esc_html=true, $nl2br=true, $format='html', $aux_data=array())
Alias for GravityView_Merge_Tags::replace_variables()
gravityview()
The main GravityView wrapper function.