26 $link =
'mailto:'.$value;
33 $subject = wp_strip_all_tags( trim( do_shortcode( $subject ) ) );
35 $params[] =
'subject='.str_replace(
'+',
'%20', urlencode( $subject ) );
43 $body = wp_strip_all_tags( trim( do_shortcode( $body ) ) );
45 $params[] =
'body='.str_replace(
'+',
'%20', urlencode( $body ) );
49 if( !empty( $params) ) {
50 $link .=
'?'.implode(
'&', $params );
static js_encrypt( $content, $message='')
Encrypt content using Javascript so that it's hidden when JS is disabled.
static getInstance( $passed_post=NULL)
$field_settings['content']
gravityview_get_link( $href='', $anchor_text='', $atts=array())
Generate an HTML anchor tag with a list of supported attributes.
if( $add_query_args) $link
if(gravityview() ->plugin->is_GF_25()) $form
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()
if(empty( $value)) $output