函数原型
format_to_post( string $content ): string
函数描述
Formerly used to escape strings before inserting into the DB.
是否弃用
Warning: This function has been deprecated.
函数参数
-
$content
string
Required - The text to format.
函数返回值
string The very same text.
函数位置
File: wp-includes/deprecated.php.
函数源码
function format_to_post( $content ) {
_deprecated_function( __FUNCTION__, '3.9.0' );
return $content;
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.9.0 | This function has been deprecated. |
| 0.71 | Introduced. |

