richedit_pre

richedit_pre

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('richedit_pre') is found 2 times:

  • /wp-includes/deprecated.php line 3600
    		 * @deprecated 4.3.0
    		 *
    		 * @param string $output Text for the rich text editor.
    		 */
    		return apply_filters( 'richedit_pre', '' );
    	}
    
    	$output = convert_chars($text);
    	$output = wpautop($output);
    	$output = htmlspecialchars($output, ENT_NOQUOTES, get_option( 'blog_charset' ) );
    
    
  • /wp-includes/deprecated.php line 3608
    	$output = wpautop($output);
    	$output = htmlspecialchars($output, ENT_NOQUOTES, get_option( 'blog_charset' ) );
    
    	/** This filter is documented in wp-includes/deprecated.php */
    	return apply_filters( 'richedit_pre', $output );
    }
    
    /**
     * Formats text for the HTML editor.
     *
     * Unless $output is empty it will pass through htmlspecialchars before the