format_to_post()
Deprecated since 3.9.0. It is no longer supported and may 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.
Returns
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() format to post code WP 7.0
function format_to_post( $content ) {
_deprecated_function( __FUNCTION__, '3.9.0' );
return $content;
}