classic_editor_plugin_settings

classic_editor_plugin_settings

Hook Type: filter

See hook in core

Displaying hooks found in version: classic-editor.1.6.3

apply_filters('classic_editor_plugin_settings') is found 1 times:

  • /classic-editor.php line 212
    		 *   'allow-users' => false,
    		 *
    		 * @param boolean To override the settings return an array with the above keys.
    		 */
    		$settings = apply_filters( 'classic_editor_plugin_settings', false );
    
    		if ( is_array( $settings ) ) {
    			return array(
    				'editor' => ( isset( $settings['editor'] ) && $settings['editor'] === 'block' ) ? 'block' : 'classic',
    				'allow-users' => ! empty( $settings['allow-users'] ),
    				'hide-settings-ui' => true,