Formerly used to escape strings before inserting into the DB.
Has not performed this function for many, many years. Use wpdb::prepare() instead.
$contentstringrequired
function format_to_post( $content ) {
_deprecated_function( __FUNCTION__, '3.9.0' );
return $content;
}
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/format_to_post