Welcome, visitor! Log in
 

WordPress hook directory
content_save_pre

Description

Applied to post content prior to saving it in the database (also used for attachments).

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 content_save_pre

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

Version File Line Type
1.5.2 xmlrpc.php 385 View hook in source filter
1.5.2 xmlrpc.php 444 View hook in source filter
1.5.2 xmlrpc.php 526 View hook in source filter
1.5.2 xmlrpc.php 619 View hook in source filter
1.5.2 wp-admin/post.php 37 View hook in source filter
1.5.2 wp-admin/post.php 282 View hook in source filter
2.0 xmlrpc.php 535 View hook in source filter
2.0 xmlrpc.php 617 View hook in source filter
2.0 wp-includes/functions-post.php 26 View hook in source filter
2.0 wp-includes/functions-post.php 222 View hook in source filter
2.0.11 xmlrpc.php 520 View hook in source filter
2.0.11 xmlrpc.php 604 View hook in source filter
2.0.11 wp-includes/functions-post.php 26 View hook in source filter
2.0.11 wp-includes/functions-post.php 224 View hook in source filter
2.1 xmlrpc.php 520 View hook in source filter
2.1 xmlrpc.php 617 View hook in source filter
2.1 wp-includes/post.php 505 View hook in source filter
2.1 wp-includes/post.php 1221 View hook in source filter
2.2 xmlrpc.php 995 View hook in source filter
2.2 xmlrpc.php 1193 View hook in source filter
2.2 wp-includes/post.php 505 View hook in source filter
2.2 wp-includes/post.php 1227 View hook in source filter
2.3 xmlrpc.php 988 View hook in source filter
2.3 xmlrpc.php 1270 View hook in source filter
2.5 xmlrpc.php 1205 View hook in source filter
2.5 xmlrpc.php 1524 View hook in source filter
2.6 xmlrpc.php 1459 View hook in source filter
2.6 xmlrpc.php 1787 View hook in source filter
2.7 xmlrpc.php 2085 View hook in source filter
2.7 xmlrpc.php 2428 View hook in source filter
2.8 xmlrpc.php 2082 View hook in source filter
2.8 xmlrpc.php 2449 View hook in source filter

Important warning!

This hook does not occur in the most recent version of WordPress (3.9). 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. content_save_pre has 2 significant word stem(s): content, save. Note that some of the hooks below may not appear in all versions of WP.