New and updated in 4.6.0
-
Fires immediately after a network has been removed from the object cache.
-
functionupdate_network_cache()
Updates the network cache of given networks.
-
function_prime_network_caches()
Adds any networks from the given IDs to the cache that do not already exist in cache.
-
functionget_networks()
Retrieves a list of networks.
-
functionget_network()
Retrieves network data given a network ID or network object.
-
functionupdate_site_cache()
Updates sites in cache.
-
functionget_sites()
Retrieves a list of sites matching requested arguments.
-
functionget_site()
Retrieves site data given a site ID or site object.
-
hookget_site
Fires after a site is retrieved.
-
function_prime_site_caches()
Adds any sites from the given IDs to the cache that do not already exist in cache.
-
hookclean_site_cache
Fires immediately after a site has been removed from the object cache.
-
functionwp_image_matches_ratio()
Helper function to test if aspect ratios for two images match.
-
Filters whether the user is allowed to add post meta to a post of a given type.
-
Localizes the jQuery UI datepicker.
-
Unregisters the post type meta box if a custom callback was specified.
-
Removes the post type from all taxonomies.
-
Removes the future post hook action for the post type.
-
Sets the features support for the post type.
-
Adds the necessary rewrite rules for the post type.
-
Registers the post type meta box if a custom callback was specified.
-
Adds the future post hook action for the post type.
-
Registers the taxonomies for the post type.
-
Removes the features support for the post type.
-
Removes any rewrite rules, permastructs, and rules for the post type.
-
classWP_Post_Type
Core class used for interacting with post types.
-
Constructor.
-
Sets post type properties.
-
hooksite_details
Filters a site’s extended properties.
-
methodWP_Site::to_array()
Converts an object to array.
-
methodWP_Site::__get()
Getter.