Custom_Image_Header::__construct()
Constructor – Register administration header callback.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Constructor – Register administration header callback.
Display the page based on the current step.
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.
Unused since 3.5.0.
Create an attachment ‘object’.
Set up the enqueue for the CSS files
Updates the last-used postmeta on a header image attachment after saving a new header image via the Customizer.
Unused since 3.5.0.