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



set_comment_cookies › WordPress Action Hooks

Since4.9.6
Deprecatedn/a
do_action( 'set_comment_cookies', $comment, $user, $cookies_consent )
Parameters: (3)
  • (WP_Comment) $comment Comment object.
    Required: Yes
  • (WP_User) $user Comment author's user object. The user may not exist.
    Required: Yes
  • (bool) $cookies_consent Comment author's consent to store cookies.
    Required: Yes
Defined at:
Codex:

Fires after comment cookies are set.





Source

do_action( 'set_comment_cookies', $comment, $user, $cookies_consent );