WordPress action hook

wcfm_page_heading

Fired by 8 WordPress plugins, running on 40K+ sites between them.

“Hook: wcfm_page_heading”

How to use wcfm_page_heading

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

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

8 plugins that fire wcfm_page_heading

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

  1. WCFM icon WCFM10,000+ installs do_action( 'wcfm_page_heading' ) helpers/wcfm-core-functions.php:45
  2. WCFM Marketplace icon WCFM Marketplace10,000+ installs do_action( 'wcfm_page_heading' ) views/ledger/wcfmmp-view-ledger.php:35
  3. WCFM Membership icon WCFM Membership10,000+ installs do_action( 'wcfm_page_heading' ) views/wcfmvm-view-memberships-manage.php:244
  4. Better Messages icon Better Messages10,000+ installs do_action( 'wcfm_page_heading' ) addons/wcfm.php:98
  5. Cool Correo Argentino icon Cool Correo Argentino100+ installs do_action( 'wcfm_page_heading' ) src/wcfm/class-cool-c-a-export.php:160
  6. Pagamento Moip for WooCommerce icon Pagamento Moip for WooCommerce100+ installs do_action( 'wcfm_page_heading' ) templates/marketplaces/moip-wcfm.php:33
  7. WholesaleX WCFM B2B Multivendor Marketplace icon WholesaleX WCFM B2B Multivendor Marketplace50+ installs do_action( 'wcfm_page_heading' ) includes/public/class-wholesalex-wcfm-b2b-multivendor-marketplace-public.php:391
  8. Easy to Manage Vendor icon Easy to Manage Vendor10+ installs do_action( 'wcfm_page_heading' ) includes/frontend/WCFM/views/emv-page.php:8

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.