wp_editor_settings, $settings, $editor_id

wp_editor_settings, $settings, $editor_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('wp_editor_settings, $settings, $editor_id') is found 1 times:

  • /wp-includes/class-wp-editor.php line 83
    		 * @param array  $settings  Array of editor arguments.
    		 * @param string $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block'
    		 *                          when called from block editor's Classic block.
    		 */
    		$settings = apply_filters( 'wp_editor_settings', $settings, $editor_id );
    
    		$set = wp_parse_args(
    			$settings,
    			array(
    				// Disable autop if the current post has blocks in it.
    				'wpautop'             => ! has_blocks(),