A WordPress-centric search engine for devs and theme authors



set_comment_cookies ›

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
  • (boolean) $cookies_consent Comment author's consent to store cookies.
    Required: Yes
Defined at:
Codex:

Perform other actions when comment cookies are set.





Source

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