HTTP/2 200
server: nginx
date: Thu, 31 Jul 2025 23:28:46 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
pre_comment_on_post – Hook | Developer.WordPress.org
do_action( ‘pre_comment_on_post’, int $comment_post_id )
Fires before a comment is posted.
$comment_post_id
intPost ID.
Version | Description |
---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.