I'm new with WP so I need advice. I'm workig on plugin where is required adding some new atrributes to selected div or paragraph.
Is there any way how to get html tag (DOM) IDs from current template? not "current_template_id" ;)
I would like to make list or array in plugin option page at admin side, where users be able select div or paragraph by id or class and give them new atrributes.
I haven't code any yet. It's a purely theoretical question, which methods and functions use.