Parsed: 126510

<?php

/**
 * Theme, template, and stylesheet functions.
 *
 * @package WordPress
 * @subpackage Theme
 */

/* function wp_get_themes() – Returns an array of WP_Theme objects based on the arguments. */

/* function wp_get_theme() – Gets a WP_Theme object for a theme. */

/* function wp_clean_themes_cache() – Clears the cache held by get_theme_roots() and WP_Theme. */

/* function is_child_theme() – Whether a child theme is in use. */

/* function get_stylesheet() – Retrieve name of the current stylesheet. */

/* function get_stylesheet_directory() – Retrieves stylesheet directory path for the active theme. */

/* function get_stylesheet_directory_uri() – Retrieve stylesheet directory URI. */

/* function get_stylesheet_uri() – Retrieves stylesheet URI for the active theme. */

/* function get_locale_stylesheet_uri() – Retrieves the localized stylesheet URI. */

/* function get_template() – Retrieves name of the active theme. */

/* function get_template_directory() – Retrieves template directory path for the active theme. */

/* function get_template_directory_uri() – Retrieves template directory URI for the active theme. */

/* function get_theme_roots() – Retrieve theme roots. */

/* function register_theme_directory() – Registers a directory that contains themes. */

/* function search_theme_directories() – Searches all registered theme directories for complete and valid themes. */

/* function get_theme_root() – Retrieves path to themes directory. */

/* function get_theme_root_uri() – Retrieves URI for themes directory. */

/* function get_raw_theme_root() – Gets the raw theme root relative to the content directory with no filters applied. */

/* function locale_stylesheet() – Display localized stylesheet link element. */

/* function switch_theme() – Switches the theme. */

/* function validate_current_theme() – Checks that the active theme has the required files. */

/* function validate_theme_requirements() – Validates the theme requirements for WordPress version and PHP version. */

/* function get_theme_mods() – Retrieves all theme modifications. */

/* function get_theme_mod() – Retrieves theme modification value for the active theme. */

/* function set_theme_mod() – Updates theme modification value for the current theme. */

/* function remove_theme_mod() – Removes theme modification name from current theme list. */

/* function remove_theme_mods() – Removes theme modifications option for current theme. */

/* function get_header_textcolor() – Retrieves the custom header text color in 3- or 6-digit hexadecimal form. */

/* function header_textcolor() – Displays the custom header text color in 3- or 6-digit hexadecimal form (minus the hash symbol). */

/* function display_header_text() – Whether to display the header text. */

/* function has_header_image() – Check whether a header image is set or not. */

/* function get_header_image() – Retrieves header image for custom header. */

/* function get_header_image_tag() – Creates image tag markup for a custom header image. */

/* function the_header_image_tag() – Display the image markup for a custom header image. */

/* function _get_random_header_data() – Gets random header image data from registered images in theme. */

/* function get_random_header_image() – Gets random header image URL from registered images in theme. */

/* function is_random_header_image() – Checks if random header image is in use. */

/* function header_image() – Displays header image URL. */

/* function get_uploaded_header_images() – Gets the header images uploaded for the current theme. */

/* function get_custom_header() – Get the header image data. */

/* function register_default_headers() – Register a selection of default headers to be displayed by the custom header admin UI. */

/* function unregister_default_headers() – Unregisters default headers. */

/* function has_header_video() – Check whether a header video is set or not. */

/* function get_header_video_url() – Retrieve header video URL for custom header. */

/* function the_header_video_url() – Displays header video URL. */

/* function get_header_video_settings() – Retrieve header video settings. */

/* function has_custom_header() – Check whether a custom header is set or not. */

/* function is_header_video_active() – Checks whether the custom header video is eligible to show on the current page. */

/* function get_custom_header_markup() – Retrieve the markup for a custom header. */

/* function the_custom_header_markup() – Print the markup for a custom header. */

/* function get_background_image() – Retrieve background image for custom background. */

/* function background_image() – Display background image path. */

/* function get_background_color() – Retrieve value for custom background color. */

/* function background_color() – Display background color value. */

/* function _custom_background_cb() – Default custom background callback. */

/* function wp_custom_css_cb() – Renders the Custom CSS style element. */

/* function wp_get_custom_css_post() – Fetch the `custom_css` post for a given theme. */

/* function wp_get_custom_css() – Fetches the saved Custom CSS content for rendering. */

/* function wp_update_custom_css_post() – Updates the `custom_css` post for a given theme. */

/* function add_editor_style() – Add callback for custom TinyMCE editor stylesheets. */

/* function remove_editor_styles() – Removes all visual editor stylesheets. */

/* function get_editor_stylesheets() – Retrieves any registered editor stylesheet URLs. */

/* function get_theme_starter_content() – Expands a theme’s starter content configuration using core-provided data. */

/* function add_theme_support() – Registers theme support for a given feature. */

/* function _custom_header_background_just_in_time() – Registers the internal custom header and background routines. */

/* function _custom_logo_header_styles() – Adds CSS to hide header text for custom logo, based on Customizer setting. */

/* function get_theme_support() – Gets the theme support arguments passed when registering that support. */

/* function remove_theme_support() – Allows a theme to de-register its support of a certain feature */

/* function _remove_theme_support() – Do not use. Removes theme support internally without knowledge of those not used
by themes directly. */

/* function current_theme_supports() – Checks a theme’s support for a given feature. */

/* function require_if_theme_supports() – Checks a theme’s support for a given feature before loading the functions which implement it. */

/* function register_theme_feature() – Registers a theme feature for use in add_theme_support(). */

/* function get_registered_theme_features() – Gets the list of registered theme features. */

/* function get_registered_theme_feature() – Gets the registration config for a theme feature. */

/* function _delete_attachment_theme_mod() – Checks an attachment being deleted to see if it’s a header or background image. */

/* function check_theme_switched() – Checks if a theme has been changed and runs ‘after_switch_theme’ hook on the next WP load. */

/* function _wp_customize_include() – Includes and instantiates the WP_Customize_Manager class. */

/* function _wp_customize_publish_changeset() – Publishes a snapshot’s changes. */

/* function _wp_customize_changeset_filter_insert_post_data() – Filters changeset post data upon insert to ensure post_name is intact. */

/* function _wp_customize_loader_settings() – Adds settings for the customize-loader script. */

/* function wp_customize_url() – Returns a URL to load the Customizer. */

/* function wp_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 is_customize_preview() – Whether the site is being previewed in the Customizer. */

/* function _wp_keep_alive_customize_changeset_dependent_auto_drafts() – Make sure that auto-draft posts get their post_date bumped or status changed to draft to prevent premature garbage-collection. */

/* function create_initial_theme_features() – Creates the initial theme features when the ‘setup_theme’ action is fired. */

/* function wp_is_block_theme() – Returns whether the current theme is a block-based theme or not. */

/* function wp_theme_get_element_class_name */

/* function _add_default_theme_supports() – Adds default theme supports for block themes when the ‘setup_theme’ action fires. */