New and updated in 3.4.0
-
functionsanitize_hex_color_no_hash()
Sanitizes a hex color without a hash. Use sanitize_hex_color() when possible.
-
functionmaybe_hash_hex_color()
Ensures that any hex color is properly hashed.
-
classWP_Customize_Manager
Customize Manager class.
-
Constructor.
-
Serves as a utility function to determine whether a key exists in the cache.
-
functionwp_customize_url()
Returns a URL to load the Customizer.
-
functionwp_customize_support_script()
Prints a script to check whether or not the Customizer is supported, and apply either the no-customize-support or customize-support class to the body.
-
function_wp_customize_include()
Includes and instantiates the WP_Customize_Manager class.
-
function_wp_customize_loader_settings()
Adds settings for the customize-loader script.
-
functionadd_theme_support()
Registers theme support for a given feature.
-
Registers the internal custom header and background routines.
-
Filters whether the active theme supports a specific feature.
-
functiondisplay_header_text()
Whether to display the header text.
-
function_get_random_header_data()
Gets random header image data from registered images in theme.
-
functionget_custom_header()
Gets the header image data.
-
Filters whether to get the cache of the registered theme directories.
-
functionwp_get_themes()
Returns an array of WP_Theme objects based on the arguments.
-
functionwp_get_theme()
Gets a WP_Theme object for a theme.
-
functionsanitize_trackback_urls()
Sanitizes space or carriage return separated URLs that are used to send trackbacks.
-
Filters a list of trackback URLs following sanitization.
-
functionrawurlencode_deep()
Navigates through an array, object, or scalar, and raw-encodes the values to be used in a URL.
-
function_split_str_by_whitespace()
Breaks a string into chunks by splitting at whitespace characters.
-
methodWP_Theme::get_allowed()
Returns array of stylesheet names of themes allowed on the site or network.
-
Returns array of stylesheet names of themes allowed on the network.
-
Returns array of stylesheet names of themes allowed on the site.
-
methodWP_Theme::sort_by_name()
Sorts themes by name.
-
methodWP_Theme::_name_sort()
Callback function for usort() to naturally sort themes by name.
-
Callback function for usort() to naturally sort themes by translated name.
-
methodWP_Theme::scandir()
Scans a directory for files of a certain extension.
-
methodWP_Theme::get_template()
Returns the directory name of the theme’s “template” files, inside the theme root.