WordPress action hook
yaycommerce_admin_shell_license_enabled
Fired by 12 WordPress plugins, running on 271K+ sites between them.
How to use yaycommerce_admin_shell_license_enabled
It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'yaycommerce_admin_shell_license_enabled', function( $adapter ) {
// Your code runs here.
}, 10, 1 );Argument names come from WP Chat App's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
12 plugins that fire yaycommerce_admin_shell_license_enabled
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WP Chat App100,000+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:228 -
File Manager Pro100,000+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:266 -
YayMail50,000+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265 -
YaySMTP10,000+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265 -
YayCurrency7,000+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:266 -
YayPricing3,000+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265 -
YayExtra1,000+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265 -
YayReviews100+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265 -
YayBoost40+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265 -
Yay Wholesale B2B for WooCommerce10+ installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265 -
Yay Bulk Order for WooCommerceFewer than 10 installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265 -
YayMagic Email BuilderFewer than 10 installs
do_action( 'yaycommerce_admin_shell_license_enabled', $adapter )vendor-prefixed/src/AdminShell.php:265
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.