WP_Theme_JSON::get_layout_styles()
wp-includes/class-wp-theme-json.php
|
Gets the CSS layout rules for a particular block from theme.json layout definitions.
|
_wp_get_iframed_editor_assets()
wp-includes/block-editor.php
|
Collect the block editor assets that need to be loaded into the editor’s iframe.
|
_add_default_theme_supports()
wp-includes/theme.php
|
Adds default theme supports for block themes when the ‘setup_theme’ action fires.
|
_add_template_loader_filters()
wp-includes/block-template.php
|
Adds necessary filters to use ‘wp_template’ posts instead of theme template files.
|
WP_Theme_JSON_Resolver::get_theme_data()
wp-includes/class-wp-theme-json-resolver.php
|
Returns the theme’s data.
|
the_block_template_skip_link()
wp-includes/theme-templates.php
|
Prints the skip-link script & styles.
|
get_block_editor_settings()
wp-includes/block-editor.php
|
Returns the contextualized block editor settings for a selected editor context.
|
get_block_editor_theme_styles()
wp-includes/block-editor.php
|
Creates an array of theme styles to load into the block editor.
|
locate_block_template()
wp-includes/block-template.php
|
Finds a block template with equal or higher specificity than a given PHP template file.
|
wp_get_inline_script_tag()
wp-includes/script-loader.php
|
Wraps inline JavaScript in tag.
|
wp_sanitize_script_attributes()
wp-includes/script-loader.php
|
Sanitizes an attributes array into an attributes string to be placed inside a tag.
|
wp_get_script_tag()
wp-includes/script-loader.php
|
Formats loader tags.
|
get_media_states()
wp-admin/includes/template.php
|
Retrieves an array of media states from an attachment.
|
WP_REST_Themes_Controller::prepare_item_for_response()
wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
|
Prepares a single theme output for response.
|
wp_common_block_scripts_and_styles()
wp-includes/script-loader.php
|
Handles the enqueueing of block scripts and styles that are common to both the editor and the front-end.
|
register_and_do_post_meta_boxes()
wp-admin/includes/meta-boxes.php
|
Registers the default post meta boxes, and runs the do_meta_boxes actions.
|
WP_Customize_Nav_Menu_Locations_Control::content_template()
wp-includes/customize/class-wp-customize-nav-menu-locations-control.php
|
JS/Underscore template for the control UI.
|
WP_Theme::get_post_templates()
wp-includes/class-wp-theme.php
|
Returns the theme’s post templates.
|
wp_custom_css_cb()
wp-includes/theme.php
|
Renders the Custom CSS style element.
|
_custom_logo_header_styles()
wp-includes/theme.php
|
Adds CSS to hide header text for custom logo, based on Customizer setting.
|
WP_Customize_Widgets::customize_dynamic_partial_args()
wp-includes/class-wp-customize-widgets.php
|
Filters arguments for dynamic widget partials.
|
WP_Customize_Widgets::selective_refresh_init()
wp-includes/class-wp-customize-widgets.php
|
Adds hooks for selective refresh.
|
WP_Customize_Widgets::get_selective_refreshable_widgets()
wp-includes/class-wp-customize-widgets.php
|
List whether each registered widget can be use selective refresh.
|
print_embed_styles()
wp-includes/embed.php
|
Prints the CSS in the embed iframe header.
|
WP_Customize_Nav_Menus::customize_register()
wp-includes/class-wp-customize-nav-menus.php
|
Adds the customizer settings and controls.
|
WP_Customize_Nav_Menus::available_item_types()
wp-includes/class-wp-customize-nav-menus.php
|
Returns an array of all the available item types.
|
print_emoji_styles()
wp-includes/formatting.php
|
Prints the important emoji-related styles.
|
WP_Customize_Panel::check_capabilities()
wp-includes/class-wp-customize-panel.php
|
Checks required user capabilities and whether the theme has the feature support required by the panel.
|
wp_generate_attachment_metadata()
wp-admin/includes/image.php
|
Generates attachment meta data and create image sub-sizes for images.
|
get_media_item()
wp-admin/includes/media.php
|
Retrieves HTML form for modifying the image attachment.
|
get_default_post_to_edit()
wp-admin/includes/post.php
|
Returns default post information to use when populating the “Write Post” form.
|
post_format_meta_box()
wp-admin/includes/meta-boxes.php
|
Displays post format form elements.
|
WP_Posts_List_Table::inline_edit()
wp-admin/includes/class-wp-posts-list-table.php
|
Outputs the hidden row displayed when inline editing
|
Custom_Image_Header::get_header_dimensions()
wp-admin/includes/class-custom-image-header.php
|
Calculate width and height based on what the currently selected theme supports.
|
Custom_Image_Header::ajax_header_crop()
wp-admin/includes/class-custom-image-header.php
|
Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details.
|
Custom_Image_Header::step_1()
wp-admin/includes/class-custom-image-header.php
|
Display first step of custom header image page.
|
Custom_Image_Header::step_2()
wp-admin/includes/class-custom-image-header.php
|
Display second step of custom header image page.
|
Custom_Image_Header::step_3()
wp-admin/includes/class-custom-image-header.php
|
Display third step of custom header image page.
|
Custom_Image_Header::js_includes()
wp-admin/includes/class-custom-image-header.php
|
Set up the enqueue for the JavaScript files.
|
Custom_Image_Header::css_includes()
wp-admin/includes/class-custom-image-header.php
|
Set up the enqueue for the CSS files
|
Custom_Image_Header::js()
wp-admin/includes/class-custom-image-header.php
|
Execute JavaScript depending on step.
|
Custom_Image_Header::js_1()
wp-admin/includes/class-custom-image-header.php
|
Display JavaScript based on Step 1 and 3.
|
Custom_Image_Header::js_2()
wp-admin/includes/class-custom-image-header.php
|
Display JavaScript based on Step 2.
|
Custom_Background::admin_page()
wp-admin/includes/class-custom-background.php
|
Displays the custom background page.
|
WP_Customize_Manager::register_controls()
wp-includes/class-wp-customize-manager.php
|
Registers some default controls.
|
WP_Styles::__construct()
wp-includes/class-wp-styles.php
|
Constructor.
|
wp_customize_support_script()
wp-includes/theme.php
|
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.
|
_custom_background_cb()
wp-includes/theme.php
|
Default custom background callback.
|
remove_editor_styles()
wp-includes/theme.php
|
Removes all visual editor stylesheets.
|
_custom_header_background_just_in_time()
wp-includes/theme.php
|
Registers the internal custom header and background routines.
|
current_theme_supports()
wp-includes/theme.php
|
Checks a theme’s support for a given feature.
|
require_if_theme_supports()
wp-includes/theme.php
|
Checks a theme’s support for a given feature before loading the functions which implement it.
|
display_header_text()
wp-includes/theme.php
|
Whether to display the header text.
|
_get_random_header_data()
wp-includes/theme.php
|
Gets random header image data from registered images in theme.
|
get_custom_header()
wp-includes/theme.php
|
Gets the header image data.
|
locale_stylesheet()
wp-includes/theme.php
|
Displays localized stylesheet link element.
|
feed_links()
wp-includes/general-template.php
|
Displays the links to the general feeds.
|
get_search_form()
wp-includes/general-template.php
|
Displays search form.
|
wp_widgets_add_menu()
wp-includes/functions.php
|
Appends the Widgets menu to the themes main menu.
|
WP_Nav_Menu_Widget::widget()
wp-includes/widgets/class-wp-nav-menu-widget.php
|
Outputs the content for the current Navigation Menu widget instance.
|
WP_Widget_Tag_Cloud::widget()
wp-includes/widgets/class-wp-widget-tag-cloud.php
|
Outputs the content for the current Tag Cloud widget instance.
|
WP_Widget_RSS::widget()
wp-includes/widgets/class-wp-widget-rss.php
|
Outputs the content for the current RSS widget instance.
|
WP_Widget_Recent_Comments::recent_comments_style()
wp-includes/widgets/class-wp-widget-recent-comments.php
|
Outputs the default styles for the Recent Comments widget.
|
WP_Widget_Recent_Comments::widget()
wp-includes/widgets/class-wp-widget-recent-comments.php
|
Outputs the content for the current Recent Comments widget instance.
|
WP_Widget_Recent_Posts::widget()
wp-includes/widgets/class-wp-widget-recent-posts.php
|
Outputs the content for the current Recent Posts widget instance.
|
WP_Widget_Categories::widget()
wp-includes/widgets/class-wp-widget-categories.php
|
Outputs the content for the current Categories widget instance.
|
WP_Widget_Archives::widget()
wp-includes/widgets/class-wp-widget-archives.php
|
Outputs the content for the current Archives widget instance.
|
WP_Widget_Meta::widget()
wp-includes/widgets/class-wp-widget-meta.php
|
Outputs the content for the current Meta widget instance.
|
WP_Widget_Pages::widget()
wp-includes/widgets/class-wp-widget-pages.php
|
Outputs the content for the current Pages widget instance.
|
WP_Customize_Section::check_capabilities()
wp-includes/class-wp-customize-section.php
|
Checks required user capabilities and whether the theme has the feature support required by the section.
|
create_initial_taxonomies()
wp-includes/taxonomy.php
|
Creates the initial taxonomies.
|
WP_Admin_Bar::initialize()
wp-includes/class-wp-admin-bar.php
|
Initializes the admin bar.
|
wp_admin_bar_appearance_menu()
wp-includes/admin-bar.php
|
Adds appearance submenu items to the “Site Name” menu.
|
wp_admin_bar_header()
wp-includes/admin-bar.php
|
Prints style and scripts for the admin bar.
|
_admin_bar_bump_cb()
wp-includes/admin-bar.php
|
Prints default admin bar callback.
|
WP_Customize_Setting::check_capabilities()
wp-includes/class-wp-customize-setting.php
|
Validate user capabilities whether the theme supports the setting.
|
get_post_class()
wp-includes/post-template.php
|
Retrieves an array of the class names for the post container element.
|
get_body_class()
wp-includes/post-template.php
|
Retrieves an array of the class names for the body element.
|
wp_enqueue_media()
wp-includes/media.php
|
Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs.
|
gallery_shortcode()
wp-includes/media.php
|
Builds the Gallery shortcode output.
|
img_caption_shortcode()
wp-includes/media.php
|
Builds the Caption shortcode output.
|
wp_insert_post()
wp-includes/post.php
|
Inserts or update a post.
|
WP_Scripts::init()
wp-includes/class-wp-scripts.php
|
Initialize the class.
|
wp_xmlrpc_server::wp_getPostFormats()
wp-includes/class-wp-xmlrpc-server.php
|
Retrieves a list of post formats used by the site.
|
wp_xmlrpc_server::_prepare_post()
wp-includes/class-wp-xmlrpc-server.php
|
Prepares post data for return in an XML-RPC object.
|
wp_xmlrpc_server::initialise_blog_option_info()
wp-includes/class-wp-xmlrpc-server.php
|
Sets up blog options property.
|
WP_Customize_Header_Image_Control::render_content()
wp-includes/customize/class-wp-customize-header-image-control.php
|
|
wp_list_comments()
wp-includes/comment-template.php
|
Displays a list of comments.
|
comment_form()
wp-includes/comment-template.php
|
Outputs a complete commenting form for use within a template.
|
WP_Customize_Widgets::get_setting_args()
wp-includes/class-wp-customize-widgets.php
|
Retrieves common arguments to supply when constructing a Customizer setting.
|
wp_default_styles()
wp-includes/script-loader.php
|
Assigns default styles to $styles object.
|
Basic Example