|
/ Documentation /Developer Documentation/Action Hooks/ srfm_after_instant_form_body

srfm_after_instant_form_body

Description

Fires after the body of an Instant Form (the standalone single-form page template) is output. Use it to append content to the instant form layout.

Parameters

  • $srfm_custom_post_id (int) – The form post ID.
  • $instant_form_settings (array) – The instant form settings.
  • $body_classes (string) – The CSS classes applied to the form body.

Hook Source

PHP
/**
* hook source
 */
do_action( 'srfm_after_instant_form_body', $srfm_custom_post_id, $instant_form_settings, $body_classes );

Hook Usage

PHP
add_action( 'srfm_after_instant_form_body', 'my_callback', 10, 3 ); 
function my_callback( $form_id, $instant_form_settings, $body_classes ) { 
// Append content to the instant form body. 
}

Hook Example

PHP
add_action( 'srfm_after_instant_form_body', 'my_callback', 10, 3 ); 
function my_callback( $form_id, $instant_form_settings, $body_classes ) { 
// Append content to the instant form body. 
}

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