WordPress action hook

sv_wc_select2_ajax_rendered

Fired by 4 WordPress plugins, running on 850+ sites between them.

“WC Select2 Ajax Rendered Action.”

How to use sv_wc_select2_ajax_rendered

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'sv_wc_select2_ajax_rendered', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from XL NMI Gateway for WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

4 plugins that fire sv_wc_select2_ajax_rendered

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. XL NMI Gateway for WooCommerce icon XL NMI Gateway for WooCommerce800+ installs do_action( 'sv_wc_select2_ajax_rendered' ) lib/skyverge/woocommerce/class-sv-wc-helper.php:894
  2. Infoplus Connect for WooCommerce icon Infoplus Connect for WooCommerce40+ installs do_action( 'sv_wc_select2_ajax_rendered' ) lib/skyverge/woocommerce/class-sv-wc-helper.php:853
  3. Ultimo Woocommerce Email Plugin icon Ultimo Woocommerce Email Plugin10+ installs do_action( 'sv_wc_select2_ajax_rendered' ) tools/woocommerce/class-sv-wc-helper.php:854
  4. Movider SMS Notifications icon Movider SMS NotificationsFewer than 10 installs do_action( 'sv_wc_select2_ajax_rendered' ) includes/helper-functions.php:831

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.