format_to_post( string $content ): string

This function has been deprecated.

Formerly used to escape strings before inserting into the DB.

Description

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

Parameters

$contentstringrequired
The text to format.

Return

string The very same text.

Source

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

Changelog

VersionDescription
3.9.0This function has been deprecated.
0.71Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.