|

srfm_after_field_content

Description

Fires after a form’s field content is rendered while generating the form markup. Useful for appending custom elements after the form’s fields.

Parameters

$post (WP_Post) – The form post object. $id (int) – The form ID.

Hook Source

PHP
/**
* hook source
 */
do_action( 'srfm_after_field_content', $post, $id );

Hook Usage

PHP
add_action( 'srfm_after_field_content', 'my_callback', 10, 2 ); function my_callback( $post, $id ) { 
// Append custom content after the fields.
 }

Hook Example

PHP
add_action( 'srfm_after_field_content', 'my_callback', 10, 2 ); function my_callback( $post, $id ) { 
// Append custom content after the fields. 
}
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