format_to_post()WP 0.71

Deprecated from version 3.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Formerly used to escape strings before inserting into the DB.

Has not performed this function for many, many years. Use wpdb::prepare() instead.

No Hooks.

Return

String. The very same text.

Usage

format_to_post( $content );
$content(string) (required)
The text to format.

Changelog

Since 0.71 Introduced.
Deprecated since 3.9.0

format_to_post() code WP 6.4.3

function format_to_post( $content ) {
	_deprecated_function( __FUNCTION__, '3.9.0' );
	return $content;
}