WordPress hook directory
format_to_post

Description

Applied to post content by the format_to_post function, which is not used in WordPress by default.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for format_to_post

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
1.2.1 wp-includes/functions-formatting.php 277 View in context filter
1.5.2 wp-includes/functions-formatting.php 500 View in context filter
2.0 wp-includes/functions-formatting.php 504 View in context filter
2.0.11 wp-includes/functions-formatting.php 534 View in context filter
2.1 wp-includes/formatting.php 552 View in context filter
2.2 wp-includes/formatting.php 550 View in context filter
2.3 wp-includes/formatting.php 558 View in context filter
2.5 wp-includes/formatting.php 566 View in context filter
2.6 wp-includes/formatting.php 581 View in context filter
2.7 wp-includes/formatting.php 802 View in context filter
2.8 wp-includes/formatting.php 1022 View in context filter
2.9 wp-includes/formatting.php 1123 View in context filter
3.0 wp-includes/formatting.php 1126 View in context filter
3.1 wp-includes/formatting.php 1142 View in context filter
3.2 wp-includes/formatting.php 1131 View in context filter
3.3 wp-includes/formatting.php 1180 View in context filter
3.4 wp-includes/formatting.php 1285 View in context filter
3.5 wp-includes/formatting.php 1311 View in context filter
3.6 wp-includes/formatting.php 1338 View in context filter
3.7 wp-includes/formatting.php 1338 View in context filter
3.8 wp-includes/formatting.php 1427 View in context filter

Important warning!

This hook does not occur in the most recent version of WordPress (5.1). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.

Related Hooks

We find related hooks using word stems. format_to_post has 3 significant word stem(s): format, to, post. Note that some of the hooks below may not appear in all versions of WP.