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:

functions.php
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.

  1. Redux Framework icon 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
  2. Admin Tweaks icon 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
  3. DirectoryPress icon 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
  4. Cryptocurrency Payment Gateway icon 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
  5. Web Directory plugin Free icon 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
  6. Restrictions for BuddyPress icon 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
  7. C4D Plugin Manager icon 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
  8. Dooodl icon 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
  9. TC Ecommerce icon 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
  10. WP Total Branding icon 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
  11. Lenxel AI LMS icon 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
  12. Saksh WP Hotel Booking Lite icon 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.