Uma área de pesquisa sobre o WordPress para devs e autores do tema



set_comment_cookies ›

Desde4.9.6
Obsoleton/a
do_action( 'set_comment_cookies', $comment, $user, $cookies_consent )
Parâmetros: (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
Definido em:
Codex:

Perform other actions when comment cookies are set.





Fonte

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