WPDev.one
Core Function
View Source on Trac ↗

_publish_post_hook()

_publish_post_hook( mixed $post_id )

Hook to schedule pings and enclosures when a post is published.

Parameters 1 required

Name / Type Description
$post_id
int

The ID of the post being published.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
2.3.0
Source File
wp-includes/post.php
Advertisement