WordPress filter hook

cfkef_dashboard_allowed_pages

Fired by 5 WordPress plugins, running on 60K+ sites between them.

How to use cfkef_dashboard_allowed_pages

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( 'cfkef_dashboard_allowed_pages', function( $allowed_pages ) {
	// Change $allowed_pages here.
	return $allowed_pages;
}, 10, 1 );

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

5 plugins that fire cfkef_dashboard_allowed_pages

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

  1. Cool FormKit Lite icon Cool FormKit Lite20,000+ installs apply_filters( 'cfkef_dashboard_allowed_pages', $allowed_pages ) admin/register-menu-dashboard/cfkef-dashboard.php:113
  2. Input Mask For Elementor Form Fields icon Input Mask For Elementor Form Fields10,000+ installs apply_filters( 'cfkef_dashboard_allowed_pages', $allowed_pages ) includes/class-plugin-elementor-page.php:47
  3. Country Code For Elementor Form Telephone Field icon Country Code For Elementor Form Telephone Field10,000+ installs apply_filters( 'cfkef_dashboard_allowed_pages', $allowed_pages ) includes/class-country-code-elementor-page.php:47
  4. Conditional Fields for Elementor Form icon Conditional Fields for Elementor Form10,000+ installs apply_filters( 'cfkef_dashboard_allowed_pages', $allowed_pages ) includes/class-conditional-fields-elementor-page.php:47
  5. Form Input Masks For Elementor Forms icon Form Input Masks For Elementor Forms10,000+ installs apply_filters( 'cfkef_dashboard_allowed_pages', $allowed_pages ) includes/class-fme-elementor-page.php:46

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.