WordPress filter hook

classic_editor_plugin_settings

Defined by Classic Editor and fired by 7 plugins in total, running on 8M+ sites between them.

“Can be used to override the plugin's settings. Always hides the settings UI when used (as users cannot change the settings).”

How to use classic_editor_plugin_settings

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

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

7 plugins that fire classic_editor_plugin_settings

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

  1. Classic Editor icon Classic Editor8+ million installs apply_filters( 'classic_editor_plugin_settings', false ) classic-editor.php:232
  2. User Profile Builder icon User Profile Builder40,000+ installs apply_filters( 'classic_editor_plugin_settings', false ) form-builder/form-builder-editor-mode.php:66
  3. TCD Classic Editor icon TCD Classic Editor6,000+ installs apply_filters( 'classic_editor_plugin_settings', false ) classes/support/class-tcdce-support.php:216
  4. Classic Editor Plus icon Classic Editor Plus500+ installs apply_filters( 'classic_editor_plugin_settings', false ) classic-editor.php:215
  5. Purplepass plugin for The Event Calendar icon Purplepass plugin for The Event Calendar10+ installs apply_filters( 'classic_editor_plugin_settings', false ) classic-editor.php:184
  6. Paginova icon PaginovaFewer than 10 installs apply_filters( 'classic_editor_plugin_settings', false ) inc/admin/admin-functions.php:164
  7. 3task Toolbar, Tables & Tabs for Classic Editor icon 3task Toolbar, Tables & Tabs for Classic EditorFewer than 10 installs apply_filters( 'classic_editor_plugin_settings', false ) includes/class-editor-switch.php:234

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.