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:

functions.php
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.

  1. WP Chat App icon WP Chat App100,000+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:44
  2. File Manager Pro icon File Manager Pro100,000+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:44
  3. YayMail icon YayMail50,000+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:43
  4. YaySMTP icon YaySMTP10,000+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:43
  5. YayCurrency icon YayCurrency7,000+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:44
  6. YayPricing icon YayPricing3,000+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:43
  7. YayExtra icon YayExtra1,000+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:43
  8. YaySwatches icon YaySwatches900+ installs apply_filters( 'yaycommerce_licensing_plugins', array() ) includes/YayCommerceMenu/RegisterMenu.php:107
  9. YayReviews icon YayReviews100+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:43
  10. YayBoost icon YayBoost40+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:44
  11. Yay Wholesale B2B for WooCommerce icon Yay Wholesale B2B for WooCommerce10+ installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:43
  12. Yay Bulk Order for WooCommerce icon Yay Bulk Order for WooCommerceFewer than 10 installs apply_filters( 'yaycommerce_licensing_plugins', [] ) vendor-prefixed/src/Registry/LegacyBridge.php:44
  13. YayMagic Email Builder icon 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.