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 4986
Introduced in WordPress:
2.1.0
Deprecated in WordPress:
—
Description
Publishes 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
4
_build_block_template_object_from_post_object
wp_autoload_values_to_autoload
wp_determine_option_autoload_value
wp_filter_default_autoload_value_via_option_size
My Bookmarks
- Soon -
About
Imprint
Privacy Policy