|

srfm_page_break_header

Description

This action runs after a header for a page break in multi-step forms. You can use it to add messages or additional instructions for users between sections of your form.

Parameters

  • $form_id (int) – The ID of the current form.

Hook Source

PHP
/**
* hook source
*/
do_action( 'srfm_page_break_header', $form_id );

Hook Usage

PHP
add_action('srfm_page_break_header', 'your_custom_function', 10, 1);

function your_custom_function( $form_id )
{
   //Add code here
}

Hook Example

PHP
add_action('srfm_page_break_header', your_custom_function, 10, 1);

function your_custom_function( $form_id )
{
$page_break_settings      = get_page_break_setting( $form_id );
          //Add code here
}
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
On this page
Scroll to Top