user_can_richedit

user_can_richedit

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('user_can_richedit') is found 1 times:

  • /wp-includes/general-template.php line 3788
    3784
    3785
    3786
    3787
    3788
    3789
    3790
    3791
    3792
    3793
    3794
         * @since 2.1.0
         *
         * @param bool $wp_rich_edit Whether the user can access the visual editor.
         */
        return apply_filters( 'user_can_richedit', $wp_rich_edit );
    }
     
    /**
     * Finds out which editor should be displayed by default.
     *
     * Works out which of the editors to display as the current editor for a

See this hook used in plugins: