Warning: This function has been deprecated.

format_to_post( string $content )

Formerly used to escape strings before inserting into the DB.

Description Description

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

Parameters Parameters


(string) (Required) The text to format.

Top ↑

Return Return

(string) The very same text.

Top ↑

Source Source

File: wp-includes/deprecated.php

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

Top ↑

Changelog Changelog

Version Description
3.9.0 This function has been deprecated.
0.71 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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