WP_Site_Icon::create_attachment_object()
Creates an attachment ‘object’.
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.
Creates an attachment ‘object’.
Deletes the Site Icon when the image file is deleted.
Adds custom image sizes when meta data for an image is requested, that happens to be used as Site Icon.
Inserts an attachment.
Adds Site Icon sizes to the array of image sizes on demand.
Sets up the site query, based on the query vars passed.
Used internally to generate an SQL string for searching across multiple columns.
Used internally to get a list of site IDs matching the query vars.
Retrieves a list of sites matching the query vars.
Parses an ‘order’ query variable and cast it to ‘ASC’ or ‘DESC’ as necessary.