WordPress filter hook
redux/taxonomy/save/before_validate
Fired by 12 WordPress plugins, running on 902K+ sites between them.
How to use redux/taxonomy/save/before_validate
It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'redux/taxonomy/save/before_validate', function( $to_save, $to_compare, $sections ) {
// Change $to_save here.
return $to_save;
}, 10, 3 );Argument names come from Redux Framework's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
12 plugins that fire redux/taxonomy/save/before_validate
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Redux Framework900,000+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )redux-core/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:997 -
Admin Tweaks800+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )inc/redux-core/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1065 -
DirectoryPress600+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )admin/redux-core/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1092 -
Cryptocurrency Payment Gateway300+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )admin/redux-framework/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1065 -
Web Directory plugin Free300+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )core/redux/core/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1065 -
Restrictions for BuddyPress300+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )includes/options/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1065 -
C4D Plugin Manager100+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )redux-framework/redux-core/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1069 -
Dooodl50+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )includes/libs/redux-framework/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1092 -
TC Ecommerce30+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )framework/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1065 -
WP Total Branding10+ installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )includes/libs/redux-core/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1092 -
Lenxel AI LMSFewer than 10 installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )redux/redux-framework/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1071 -
Saksh WP Hotel Booking LiteFewer than 10 installs
apply_filters( 'redux/taxonomy/save/before_validate', $to_save, $to_compare, $this->sections )redux-framework/redux-core/inc/extensions/taxonomy/class-redux-extension-taxonomy.php:1092
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.