classic_editor_plugin_settings

classic_editor_plugin_settings

Hook Type: filter

See hook in core

Displaying hooks found in version: classic-editor.1.6.5

apply_filters('classic_editor_plugin_settings') is found 1 times:

  • /classic-editor.php line 217
    		 *   'allow-users' => false,
    		 *
    		 * @param boolean To override the settings return an array with the above keys. Default false.
    		 */
    		$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,