WordPress action hook
vp_option_save_and_reinit
Fired by 17 WordPress plugins, running on 190+ sites between them.
How to use vp_option_save_and_reinit
It's an action: your callback runs at that point and receives 3 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'vp_option_save_and_reinit', function( $opt, $result, $arg3 ) {
// Your code runs here.
}, 10, 3 );Argument names come from Amp Stories for WordPress's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
17 plugins that fire vp_option_save_and_reinit
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Amp Stories for WordPress30+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )vafpress/classes/option.php:194 -
Exclusive Hover effects20+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )framework/classes/option.php:194 -
WP Petfinder20+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )inc/vafpress-framework/classes/option.php:194 -
WP Coupon System10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )framework/classes/option.php:194 -
Winsome Nice Scrollbar10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )vafpress/classes/option.php:194 -
Amazing Team Member Carousel10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )framework/classes/option.php:194 -
Ultimate Product Gallery for WooCommerce10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )vafpress-framework/classes/option.php:194 -
TWI Woocommerce Grid/Slider/Carousel Lite10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )inc/classes/option.php:194 -
super portfolios and effects10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )framework/classes/option.php:194 -
Easy Currency Converter Plugin10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['class.status'], $this->get_option_key() )framework/classes/option.php:194 -
Jheck Chat10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )vafpress/classes/option.php:194 -
WCBox Lite10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )vafpress-framework/classes/option.php:194 -
modal popup portfolio and hover effects10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )framework/classes/option.php:194 -
Responsive Gallery Lightbox10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )framework/classes/option.php:194 -
Noor Responsive Tab10+ installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )framework/classes/option.php:194 -
Virkut Related Category PostFewer than 10 installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )framework/classes/option.php:194 -
Winsome GalleryFewer than 10 installs
do_action( 'vp_option_save_and_reinit', $opt, $result['status'], $this->get_option_key() )vafpress/classes/option.php:194
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.