Menu
wpseek
mobile
Search
wp_publish_post
wp_publish_post
(
$post
)
Parameters:
(int|WP_Post)
post
Post ID or post object.
Defined at:
wp-includes/post.php
, line 4498
Introduced in WordPress:
2.1.0
Deprecated in WordPress:
—
Description
Publish a post by transitioning the post status.
Related Functions
_publish_post_hook
,
wp_untrash_post
,
wp_trash_post
,
wp_insert_post
,
wp_kses_post
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
2
get_post_parent
has_post_parent
My Bookmarks
- Soon -
About
Imprint
Privacy Policy