File: wp-includes/theme.php
-
functionhas_header_video()
Checks whether a header video is set or not.
-
functionget_header_video_url()
Retrieves header video URL for custom header.
-
function_custom_logo_header_styles()
Adds CSS to hide header text for custom logo, based on Customizer setting.
-
functionget_header_image_tag()
Creates image tag markup for a custom header image.
-
Filters the markup of header images.
-
functionthe_header_image_tag()
Displays the image markup for a custom header image.
-
Filters the array of URLs of stylesheets applied to the editor.
-
functionhas_header_image()
Checks whether a header image is set or not.
-
functionis_customize_preview()
Whether the site is being previewed in the Customizer.
-
functionget_editor_stylesheets()
Retrieves any registered editor stylesheet URLs.
-
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_remove_theme_support()
Do not use. Removes theme support internally without knowledge of those not used by themes directly.
-
functionbackground_image()
Displays background image path.
-
functioncurrent_theme_supports()
Checks a theme’s support for a given feature.
-
functionget_background_color()
Retrieves value for custom background color.
-
Filters whether the active theme supports a specific feature.
-
functionbackground_color()
Displays background color value.
-
functionrequire_if_theme_supports()
Checks a theme’s support for a given feature before loading the functions which implement it.
-
function_custom_background_cb()
Default custom background callback.
-
function_delete_attachment_theme_mod()
Checks an attachment being deleted to see if it’s a header or background image.
-
functionadd_editor_style()
Adds callback for custom TinyMCE editor stylesheets.
-
functioncheck_theme_switched()
Checks if a theme has been changed and runs ‘after_switch_theme’ hook on the next WP load.
-
functionremove_editor_styles()
Removes all visual editor stylesheets.
-
Fires on the next WP load after the theme has been switched.
-
functionadd_theme_support()
Registers theme support for a given feature.
-
function_wp_customize_include()
Includes and instantiates the WP_Customize_Manager class.
-
Registers the internal custom header and background routines.
-
function_wp_customize_loader_settings()
Adds settings for the customize-loader script.
-
functionget_theme_support()
Gets the theme support arguments passed when registering that support.