WordPress filter hook
productive_global_register_section_popup_validate
Fired by 6 WordPress plugins, running on 90+ sites between them.
How to use productive_global_register_section_popup_validate
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'productive_global_register_section_popup_validate', function( $validated_values, $section_inputs ) {
// Change $validated_values here.
return $validated_values;
}, 10, 2 );Argument names come from Productive Commerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
6 plugins that fire productive_global_register_section_popup_validate
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Productive Commerce40+ installs
apply_filters( 'productive_global_register_section_popup_validate', $validated_values, $section_inputs )admin/common/options/global/global-popup.php:52 -
PASS Addons20+ installs
apply_filters( 'productive_global_register_section_popup_validate', $validated_values, $section_inputs )admin/common/options/global/global-popup.php:52 -
Productive Forms10+ installs
apply_filters( 'productive_global_register_section_popup_validate', $validated_values, $section_inputs )admin/common/options/global/global-popup.php:52 -
Productive Style10+ installs
apply_filters( 'productive_global_register_section_popup_validate', $validated_values, $section_inputs )admin/common/options/global/global-popup.php:52 -
Productive Demo Importer10+ installs
apply_filters( 'productive_global_register_section_popup_validate', $validated_values, $section_inputs )admin/common/options/global/global-popup.php:52 -
PASS AIFewer than 10 installs
apply_filters( 'productive_global_register_section_popup_validate', $validated_values, $section_inputs )admin/common/options/global/global-popup.php:52
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.