I'm trying to achieve a custom option inside the "Publish Metabox" in WordPress admin custom post. And I want to know is there any native way to do expand/collapse divs (Check the below screenshot).
I wonder how WordPress itself achieves it like the below screenshot? (Maybe match the IDs like bootstrap JS libraries do ?).
