Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | apply_filters | 4309 | /** * Filters the post parent -- used to check for and prevent hierarchy loops. * * @since 3.1.0 * * @param int $post_parent Post parent ID. * @param int $post_ID Post ID. * @param array $new_postarr Array of parsed post data. * @param array $postarr Array of sanitized, but otherwise unmodified post data. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $post_parent | Post parent ID. |
int | $post_ID | Post ID. |
array | $new_postarr | Array of parsed post data. |
array | $postarr | Array of sanitized, but otherwise unmodified post data. |