wpseek.com
A WordPress-centric search engine for devs and theme authors



get_comment_id › WordPress Filter Hooks

Since4.1.0
Deprecatedn/a
apply_filters( 'get_comment_ID', $comment_id, $comment )
Parameters: (2)
  • (string) $comment_id The current comment ID as a numeric string.
    Required: Yes
  • (WP_Comment) $comment The comment object.
    Required: Yes
Defined at:
Codex:

Filters the returned comment ID.





Source

return apply_filters( 'get_comment_ID', $comment_id, $comment );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase