equal
deleted
inserted
replaced
41 |
41 |
42 $user = wp_get_current_user(); |
42 $user = wp_get_current_user(); |
43 $cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) ); |
43 $cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) ); |
44 |
44 |
45 /** |
45 /** |
46 * Perform other actions when comment cookies are set. |
46 * Fires after comment cookies are set. |
47 * |
47 * |
48 * @since 3.4.0 |
48 * @since 3.4.0 |
49 * @since 4.9.6 The `$cookies_consent` parameter was added. |
49 * @since 4.9.6 The `$cookies_consent` parameter was added. |
50 * |
50 * |
51 * @param WP_Comment $comment Comment object. |
51 * @param WP_Comment $comment Comment object. |