|
/ Documentation /Developer Documentation/Filter Hooks/ srfm_confirmation_links_open_in_new_tab

srfm_confirmation_links_open_in_new_tab

Description

Filters whether links inside the after-submit confirmation message open in a new tab. Defaults to true.

Parameters

  • $open_in_new_tab (bool) – Whether confirmation links open in a new tab.

Filter Source

PHP
/**
* filter source (Free) inc/generate-form-markup.php
*/
 $open = apply_filters( 'srfm_confirmation_links_open_in_new_tab', true );

Filter Usage

PHP
add_filter( 'srfm_confirmation_links_open_in_new_tab', '__return_false' );

Filter Example

PHP
add_filter( 'srfm_confirmation_links_open_in_new_tab', '__return_false' );
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top