WordPress filter hook
yaycommerce_licensing_plugins
Fired by 13 WordPress plugins, running on 272K+ sites between them.
“--------”
How to use yaycommerce_licensing_plugins
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'yaycommerce_licensing_plugins', function( $value ) {
// Change $value here.
return $value;
}, 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.
13 plugins that fire yaycommerce_licensing_plugins
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WP Chat App100,000+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:44 -
File Manager Pro100,000+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:44 -
YayMail50,000+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:43 -
YaySMTP10,000+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:43 -
YayCurrency7,000+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:44 -
YayPricing3,000+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:43 -
YayExtra1,000+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:43 -
YaySwatches900+ installs
apply_filters( 'yaycommerce_licensing_plugins', array() )includes/YayCommerceMenu/RegisterMenu.php:107 -
YayReviews100+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:43 -
YayBoost40+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:44 -
Yay Wholesale B2B for WooCommerce10+ installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:43 -
Yay Bulk Order for WooCommerceFewer than 10 installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:44 -
YayMagic Email BuilderFewer than 10 installs
apply_filters( 'yaycommerce_licensing_plugins', [] )vendor-prefixed/src/Registry/LegacyBridge.php:43
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.