Hi,
I’d like to insert some data attribute into the post_title input field. How can I do this?
Original.
<input type=”text” id=”acf-_post_title” name=”acf[_post_title]” required=”required”>
What I want to do is add this: data-swplive=”true”
So the output would be
<input type=”text” id=”acf-_post_title” name=”acf[_post_title]” required=”required” data-swplive=”true”>
Please tell me the solution.
Thank you.