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