A WordPress-centric search engine for devs and theme authors



comment_on_draft ›

Since1.5.1
Deprecatedn/a
do_action( 'comment_on_draft', $comment_post_ID )
Parameters:
  • (int) $comment_post_ID Post ID.
    Required: Yes
Defined at:
Codex:

Fires when a comment is attempted on a post in draft mode.





Source

do_action( 'comment_on_draft', $comment_post_ID );