Uma área de pesquisa sobre o WordPress para devs e autores do tema



format_to_post ›

Desde0.71
Obsoleto3.9.0
format_to_post ( $content )
Parâmetros:
  • (string) $content The text to format.
    Required: Yes
Retorna:
  • (string) The very same text.
Definido em:
Codex:

Formerly used to escape strings before inserting into the DB.

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



Fonte

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