vfbp_form_action
Description
Filter the form "action" attribute
Changing this value to anything but the current page or a blank value will disable VFB Pro email and entry saving features.
This filter is best used when you want to build your own processing script to handle the values.
Parameters
$action
(string) (required) The form action
Default: ''
$form_id
(int) (optional) The form ID
Default: the form ID
Examples
Use a custom processing script in your site's theme folder for form ID 114:
add_filter( 'vfbp_form_action', 'filter_vfbp_form_action', 10, 2 ); function filter_vfbp_form_action( $action, $form_id ){ if ( 114 == $form_id ) return get_stylesheet_directory_uri() . '/includes/vfb-script.php'; }