You can’t reliably “call” information from content because you have no direct control of what that content is. Shortcodes could “call” information, but the shortcode needs to be placed by the user in order to work.
Your script could parse through the content before inserting into the DB or outputting to the user’s browser, and inject information when the correct content is found, such as <img> tags. But the script would need to be able to distinguish between the proper tag and some other random tag.
The best approach would depend on the specifics of your need.
Viewing 1 replies (of 1 total)
The topic ‘Calling custom meta boxes on inline images?’ is closed to new replies.