- srfm_enable_redirect_activation
- sureforms_plugin_action_links
- srfm_quick_sidebar_allowed_blocks
- srfm_integrated_plugins
- srfm_suretriggers_integration_data_filter
- srfm_form_submit_response
- srfm_enable_gutenberg_post_types
- srfm_languages_directory
- srfm_form_template
- srfm_disable_nps_survey
srfm_register_additional_post_meta
Description:
This action runs after all post metadata has been set up in the core, letting you add custom metadata that your form may need for storage or processing.
Parameters:
None
Hook Source:
/**
* hook source
*/
do_action( ‘srfm_register_additional_post_meta’ );
Hook Usage:
add_action(‘srfm_register_additional_post_meta’, 'your_custom_function', 10, 0);
function your_custom_function( $form_id )
{
//Add code here
}
Hook Example:
add_action(‘srfm_register_additional_post_meta’, your_custom_function, 10, 0);
function your_custom_function( $form_id )
{
register_post_meta (
POSTTYPE,
‘_meta_tag’,
[
Single => true,
…
//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.
On this page