|
/ Documentation /Developer Documentation/Action Hooks/ Page Break Pagination Action

Page Break Pagination Action

Description

This action generates content for paginated sections of your form, helping to create a smooth user experience in multi-page forms.

Parameters

  • $post – Current post object.
  • $id – The form ID.

Hook Source

PHP
add_action('srfm_page_break_pagination', 'your_custom_function', 10, 2);

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

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_pagination', your_custom_function, 10, 2);

function your_custom_function( $post, $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
Table of Contents
Scroll to Top