WordPress action hook

wbcom_add_plugin_license_code

Fired by 8 WordPress plugins, running on 3,910+ sites between them.

How to use wbcom_add_plugin_license_code

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( 'wbcom_add_plugin_license_code', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from Wbcom Designs's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

8 plugins that fire wbcom_add_plugin_license_code

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

  1. Wbcom Designs icon Wbcom Designs3,000+ installs do_action( 'wbcom_add_plugin_license_code' ) admin/wbcom/templates/wbcom-license-page.php:36
  2. Wbcom Designs icon Wbcom Designs300+ installs do_action( 'wbcom_add_plugin_license_code' ) admin/wbcom/templates/wbcom-license-page.php:34
  3. Audio Preview for WooCommerce icon Audio Preview for WooCommerce200+ installs do_action( 'wbcom_add_plugin_license_code' ) admin/wbcom/templates/wbcom-license-page.php:29
  4. Document Preview For WooCommerce icon Document Preview For WooCommerce100+ installs do_action( 'wbcom_add_plugin_license_code' ) admin/wbcom/templates/wbcom-license-page.php:29
  5. Wbcom Designs icon Wbcom Designs100+ installs do_action( 'wbcom_add_plugin_license_code' ) admin/wbcom/templates/wbcom-license-page.php:37
  6. Todo for BuddyPress & BuddyBoss icon Todo for BuddyPress & BuddyBoss100+ installs do_action( 'wbcom_add_plugin_license_code' ) admin/wbcom/templates/wbcom-license-page.php:34
  7. Wbcom Designs icon Wbcom Designs90+ installs do_action( 'wbcom_add_plugin_license_code' ) admin/wbcom/templates/wbcom-license-page.php:37
  8. Price Quote for WooCommerce icon Price Quote for WooCommerce20+ installs do_action( 'wbcom_add_plugin_license_code' ) admin/wbcom/templates/wbcom-license-page.php:32

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.