wp_publish_post


wp_publish_post ( $post )

Parameters:
  • (int|WP_Post) post Post ID or post object.
Defined at:

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

wpseek mobile