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:
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.
-
XL NMI Gateway for WooCommerce800+ installs
do_action( 'sv_wc_select2_ajax_rendered' )lib/skyverge/woocommerce/class-sv-wc-helper.php:894 -
Infoplus Connect for WooCommerce40+ installs
do_action( 'sv_wc_select2_ajax_rendered' )lib/skyverge/woocommerce/class-sv-wc-helper.php:853 -
Ultimo Woocommerce Email Plugin10+ installs
do_action( 'sv_wc_select2_ajax_rendered' )tools/woocommerce/class-sv-wc-helper.php:854 -
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.