_publish_post_hook
- %1$s is private and should not be used in themes or plugins directly.
_publish_post_hook ( $post_id )
Access:Parameters:- (int) post_id The ID of the post being published.
Defined at: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Description
Hook to schedule pings and enclosures when a post is published.Uses XMLRPC_REQUEST and WP_IMPORTING constants.