Archive | /wp-includes/post.php RSS feed for this section

stick_post

Make a post sticky.Sticky posts should be displayed at the top of the front page.

2915

Continue reading

set_post_type

Updates the post type for the post ID.The page or post cache will be cleaned for the post ID.

2847

Continue reading

sanitize_post_field

Sanitize post field based on context.Possible context values are: ‘raw’, ‘edit’, ‘db’, ‘display’, ‘attribute’ and ‘js’. The ‘display’ context is used by default. ‘attribute’ and ‘js’ contexts are treated like ‘display’ when calling filters.

2781

Continue reading

sanitize_post

Sanitize every post field.If the context is ‘raw’, then the post object or array will get minimal santization of the int fields.

2779

Continue reading