A WordPress-centric search engine for devs and theme authors



format_to_post ›

Since0.71
Deprecated3.9.0
format_to_post ( $content )
Parameters:
  • (string) $content The text to format.
    Required: Yes
Returns:
  • (string) The very same text.
Defined at:
Codex:

Formerly used to escape strings before inserting into the DB.

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



Source

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