_WP_Editors::wp_mce_translation()
Translates the default TinyMCE strings and returns them as JSON encoded object ready to be loaded with tinymce.addI18n(), or as JS snippet…
Translates the default TinyMCE strings and returns them as JSON encoded object ready to be loaded with tinymce.addI18n(), or as JS snippet…
Given an attachment ID for a header image, updates its “last used” timestamp to now.
Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details.
Given an attachment ID for a header image, unsets it as a user-uploaded header image for the active theme.
Create an attachment ‘object’.
Updates the last-used postmeta on a header image attachment after saving a new header image via the Customizer.
Gets the details of default header images if defined.
Calculate width and height based on what the currently selected theme supports.
Gets the previously uploaded header images.
Insert an attachment and its metadata.