File: wp-includes/theme.php
-
Given an element name, returns a class name.
-
hookget_header_image
Filters the header image URL.
-
functionwp_is_block_theme()
Returns whether the active theme is a block-based theme or not.
-
function_add_default_theme_supports()
Adds default theme supports for block themes when the ‘after_setup_theme’ action fires.
-
Filters the list of header image attributes.
-
functioncreate_initial_theme_features()
Creates the initial theme features when the ‘setup_theme’ action is fired.
-
functionget_registered_theme_features()
Gets the list of registered theme features.
-
functionget_registered_theme_feature()
Gets the registration config for a theme feature.
-
functionregister_theme_feature()
Registers a theme feature for use in add_theme_support().
-
functionvalidate_theme_requirements()
Validates the theme requirements for WordPress version and PHP version.
-
Filters header video settings.
-
Makes sure that auto-draft posts get their post_date bumped or status changed to draft to prevent premature garbage-collection.
-
Filters the header video URL.
-
Publishes a snapshot’s changes.
-
Filters changeset post data upon insert to ensure post_name is intact.
-
Filters the expanded array of starter content.
-
functionget_theme_starter_content()
Expands a theme’s starter content configuration using core-provided data.
-
functionwp_update_custom_css_post()
Updates the `custom_css` post for a given theme.
-
Filters the `css` (`post_content`) and `preprocessed` (`post_content_filtered`) args for a `custom_css` post being updated.
-
Filters the custom CSS output into the head element.
-
functionwp_custom_css_cb()
Renders the Custom CSS style element.
-
functionwp_get_custom_css_post()
Fetches the `custom_css` post for a given theme.
-
functionwp_get_custom_css()
Fetches the saved Custom CSS content for rendering.
-
Filters whether the custom header video is eligible to show on the current page.
-
functionget_custom_header_markup()
Retrieves the markup for a custom header.
-
functionthe_custom_header_markup()
Prints the markup for a custom header.
-
functionthe_header_video_url()
Displays header video URL.
-
functionget_header_video_settings()
Retrieves header video settings.
-
functionhas_custom_header()
Checks whether a custom header is set or not.
-
functionis_header_video_active()
Checks whether the custom header video is eligible to show on the current page.