Filter hook 'user_can_richedit'

in WP Core File wp-includes/general-template.php at line 3771

Description

Filters whether the user can access the visual editor.

Occurrences

Filename Line Number
wp-includes/general-template.php 3771

Parameters

Type Name Description
bool $wp_rich_edit Whether the user can access the visual editor.

PHP Doc

/**
	 * Filters whether the user can access the visual editor.
	 *
	 * @since 2.1.0
	 *
	 * @param bool $wp_rich_edit Whether the user can access the visual editor.
	 */