WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/format to post


This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use any of these functions instead.

Contents

Description

Holder for the 'format_to_post' filter. Deprecated in 3.9.0. Use wpdb::prepare() instead.

Usage

<?php format_to_post$content ?>

Parameters

$content
(string) (required) The text to pass through the filter.
Default: None

Return Values

(string) 
Text returned from the 'format_to_post' filter.

Examples

Notes

Change Log

Source File

format_to_post() is located in wp-includes/formatting.php.

Related

See also index of Function Reference and index of Template Tags.