wp_publish_post [ WordPress Function ]
| Parameters: |
|
| Uses: |
|
| Returns: |
|
| Defined at: |
Examples [ wp-snippets.com ]
Top Google Search Results
- Function Reference/wp publish post « WordPress Codex
Description. Publish a post by transitioning the post status. Usage. <?php wp_publish_post( $post_id ) ?> Parameters. $post_id: (integer) (required) Post ID.
codex.wordpress.org - wp_publish_post (WordPress Function) - WPSeek.com
WordPress lookup for wp_publish_post, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - wp_publish_post() Does Not Set post_* : alexking.org
Sep 19, 2011 ... The inline documentation for wp_publish_post() says that it will: Publish a post by transitioning the post status. and that's exactly what it does.
alexking.org - wp_publish_post | A HitchHackers guide through WordPress
Feb 12, 2011 ... function wp_publish_post($post_id) { global $wpdb; $post = get_post($post_id); if ( empty($post) ) return; if ( 'publish' == $post->post_status ) ...
hitchhackerguide.com
User discussions [ wordpress.org ]
- Coffee4cr on "wp_publish_post Triggering action 'publish_post'"
- Coffee4cr on "wp_publish_post Triggering action 'publish_post'"
- Tuppaloprobe on "Create custom "add new post" with predefined values for title etc."
- MichaelH on "Create custom "add new post" with predefined values for title etc."
- Tuppaloprobe on "Create custom "add new post" with predefined values for title etc."
- esmi on "Should I report this as a bug? wp_publish_post"
- granrojo on "Should I report this as a bug? wp_publish_post"