wpseek.com
WordPress开发者和主题制作者的搜索引擎



format_to_post › WordPress Function

Since0.71
已弃用3.9.0
format_to_post ( $content )
参数:
  • (string) $content The text to format.
    Required: Yes
返回:
  • (string) The very same text.
定义在:
文档:

Formerly used to escape strings before inserting into the DB.

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


源码

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