Description

Filter used to process Smart Tag(s) inside the WPForms form builder for areas such as labels, descriptions, HTML code blocks etc.

Parameters

$form_data
(array) Processed form settings/data, prepared to be used later.

Source

wpforms/pro/includes/class-smart-tags.php

More Information

The wpforms_process_smart_tags is used to process Smart Tags inside other areas and form fields such as descriptions, labels, HTML code blocks, etc.

Example

/**
 * Process Smart Tag.
 *
 * @link   https://wpforms.com/developers/wpforms_process_smart_tags/
 *
 * @param  array $form_data
 *
 * @return array
 */
function wpf_dev_process_smart_tags( $form_data ) {

    // Run code
}
add_filter( 'wpforms_process_smart_tags', 'wpf_dev_process_smart_tags', 10, 3 );


Snippet References: