0
cookies' => '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"' . $consent . ' />' https://www.ozgurbilgi.net

checkbox is not selected by default. How do I do this selected? Automatically for visitors. I tried that but it didn't. checked="checked"

how can I do that? thanks

Cem
  • 11
  • 5

1 Answers1

0

Its not checked ="checked" its just checked as an attribute. Consider researching your subject a bit more before posting to SO.

Input Checked Attribute

Here are some tips for posting on SO for the future:

sBucholtz
  • 74
  • 10