comment_id_not_found action-hook . WP 1.5.0
Fires when a comment is attempted on a post that does not exist.
Usage
add_action( 'comment_id_not_found', 'action_function_name_637' ); function action_function_name_637( $comment_post_ID ){ // action... }
- $comment_post_ID(int)
- Post ID.
Changelog
Since 1.5.0 | Introduced. |
Where the hook is called
comment_id_not_found
wp-includes/comment.php 3412
do_action( 'comment_id_not_found', $comment_post_ID );