title: PHP code for add attributes to html tag in wordpress
body: <p><a href="https://i.stack.imgur.com/Pxxtb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pxxtb.png" alt="availabitly checking form"></a></p>
  
  <p>Hi, I want to know what is the php code to add "readonly" attribute to input tag &amp; "disable" to select tag using php code in wordpress ? I am new to wordpress.\</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;select name="gdlr-night" id="gdlr-night" readonly&gt; &lt;/select&gt;
  
  &lt;input disable&gt;</code></pre>
  </div>
  </div>
  </p>