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:
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.
-
WCFM10,000+ installs
do_action( 'wcfm_page_heading' )helpers/wcfm-core-functions.php:45 -
WCFM Marketplace10,000+ installs
do_action( 'wcfm_page_heading' )views/ledger/wcfmmp-view-ledger.php:35 -
WCFM Membership10,000+ installs
do_action( 'wcfm_page_heading' )views/wcfmvm-view-memberships-manage.php:244 -
Better Messages10,000+ installs
do_action( 'wcfm_page_heading' )addons/wcfm.php:98 -
Cool Correo Argentino100+ installs
do_action( 'wcfm_page_heading' )src/wcfm/class-cool-c-a-export.php:160 -
Pagamento Moip for WooCommerce100+ installs
do_action( 'wcfm_page_heading' )templates/marketplaces/moip-wcfm.php:33 -
WholesaleX WCFM B2B Multivendor Marketplace50+ installs
do_action( 'wcfm_page_heading' )includes/public/class-wholesalex-wcfm-b2b-multivendor-marketplace-public.php:391 -
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.