archive.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
B
G
M
R
W
Home
ยป
S
API Letter:
S
wp_enqueue_block_support_styles() – This function takes care of adding inline styles in the proper place, depending on the theme in use.
wp_global_styles_render_svg_filters() – Render the SVG filters supplied by theme.json.
wp_get_global_styles_svg_filters() – Returns a string containing the SVGs to be referenced as filters (duotone).
WP_Theme_JSON::get_svg_filters() – Converts all filter (duotone) presets into SVGs.
wp_get_duotone_filter_svg() – Returns the duotone filter SVG string for the preset.
wp_get_sidebar() – Retrieves the registered sidebar with the given ID.
wp_is_application_passwords_supported() – Checks if Application Passwords is supported.
_add_default_theme_supports() – Adds default theme supports for block themes when the ‘setup_theme’ action fires.
wp_set_unique_slug_on_create_template_part() – Sets a custom slug when creating auto-draft template parts.
WP_Sitemaps_Users
WP_Sitemaps_Taxonomies
WP_Sitemaps_Posts
WP_Sitemaps
WP_Sitemaps_Renderer
WP_Sitemaps_Registry
WP_Sitemaps_Provider
WP_Sitemaps_Index
wp_enqueue_global_styles_css_custom_properties() – Function that enqueues the CSS Custom Properties coming from theme.json.
WP_REST_Sidebars_Controller::retrieve_widgets() – Looks for "lost" widgets once per request.
WP_REST_Sidebars_Controller::check_read_permission() – Checks if a sidebar can be read publicly.
WP_REST_Search_Controller
WP_REST_Global_Styles_Controller::get_theme_item_permissions_check() – Checks if a given request has access to read a single theme global styles config.
WP_REST_Global_Styles_Controller::get_theme_item() – Returns the given theme global styles config.
WP_REST_Global_Styles_Controller::get_item_schema() – Retrieves the global styles type’ schema, conforming to JSON Schema.
WP_REST_Global_Styles_Controller::get_collection_params() – Retrieves the query params for the global styles collection.
WP_REST_Global_Styles_Controller::get_available_actions() – Get the link relations available for the post and current user.
WP_REST_Global_Styles_Controller::protected_title_format() – Overwrites the default protected title format.
WP_REST_Global_Styles_Controller::get_post() – Get the post, if the ID is valid.
WP_REST_Global_Styles_Controller::prepare_links() – Prepares links for the request.
WP_REST_Global_Styles_Controller::prepare_item_for_response() – Prepare a global styles config output for response.
WP_REST_Global_Styles_Controller::prepare_item_for_database() – Prepares a single global styles config for update.
WP_REST_Global_Styles_Controller::check_update_permission() – Checks if a global style can be edited.
WP_REST_Global_Styles_Controller::update_item() – Updates a single global style config.
WP_REST_Global_Styles_Controller::update_item_permissions_check() – Checks if a given request has access to write a single global styles config.
WP_REST_Global_Styles_Controller::get_item() – Returns the given global styles config.
WP_REST_Global_Styles_Controller::get_item_permissions_check() – Checks if a given request has access to read a single global style.
WP_REST_Global_Styles_Controller::check_read_permission() – Checks if a global style can be read.
WP_REST_Global_Styles_Controller::_sanitize_global_styles_callback() – Sanitize the global styles ID or stylesheet to decode endpoint.
WP_REST_Global_Styles_Controller::register_routes() – Registers the controllers routes.
WP_REST_Global_Styles_Controller
WP_REST_Global_Styles_Controller
WP_REST_Global_Styles_Controller::__construct() – Constructor.
WP_REST_Edit_Site_Export_Controller::export() – Output a ZIP file with an export of the current templates and template parts from the site editor, and close the connection.
WP_REST_Edit_Site_Export_Controller::permissions_check() – Checks whether a given request has permission to export.
WP_REST_Edit_Site_Export_Controller::register_routes() – Registers the site export route.
WP_REST_Edit_Site_Export_Controller
WP_REST_Edit_Site_Export_Controller
WP_REST_Edit_Site_Export_Controller::__construct() – Constructor.
WP_REST_Server::add_image_to_index() – Exposes an image through the WordPress REST API.
WP_REST_Server::add_site_icon_to_index() – Exposes the site icon through the WordPress REST API.
is_post_status_viewable – filter
wp_mail_succeeded – action
wp_update_site – action
wp_initialize_site – action
translate_settings_using_i18n_schema() – Translates the provided settings value using its i18n schema.
content_filtered_save_pre – filter
content_save_pre – filter
wp_filter_global_styles_post() – Sanitizes global styles user content removing unsafe rules.
http_allowed_safe_ports – filter
wp_get_global_styles() – Function to get the styles resulting of merging core, theme, and user data.
wp_get_global_stylesheet() – Returns the stylesheet resulting of merging core, theme, and user data.
wp-includes/global-styles-and-settings.php
wp_get_global_settings() – Function to get the settings resulting of merging core, theme, and user data.
setup_theme – action
save_post_wp_template_part – action
admin_footer-site-editor.php – action
WP_Customize_Custom_CSS_Setting
str_starts_with() – Polyfill for `str_starts_with()` function added in PHP 8.0.
str_ends_with() – Polyfill for `str_ends_with()` function added in PHP 8.0.
str_contains() – Polyfill for `str_contains()` function added in PHP 8.0.
WP_Theme_JSON::is_safe_css_declaration() – Checks that a declaration provided by the user is safe.
WP_Theme_JSON::filter_slugs() – Removes the preset values whose slug is equal to any of given slugs.
WP_Theme_JSON::should_override_preset() – Returns whether a presets should be overridden or not.
WP_Theme_JSON::replace_slug_in_string() – Transform a slug into a CSS Custom Property.
WP_Theme_JSON::get_settings_slugs() – Similar to get_settings_values_by_slug, but doesn’t compute the value.
WP_Theme_JSON::scope_selector() – Function that scopes a selector with another one. This works a bit like SCSS nesting except the `&` operator isn’t supported.
WP_Theme_JSON::get_settings_values_by_slug() – Gets preset values keyed by slugs based on settings and metadata.
WP_Theme_JSON_Schema::rename_settings() – Processes a settings array, renaming or moving properties.
WP_Theme_JSON_Schema::unset_setting_by_path() – Removes a property from within the provided settings by its path.
WP_Theme_JSON_Schema::migrate_v1_to_v2() – Removes the custom prefixes for a few properties that were part of v1:
WP_Theme_JSON_Schema::rename_paths() – Processes the settings subtree.
WP_Theme_JSON_Schema
WP_Theme_JSON_Schema
WP_Theme_JSON_Schema::migrate() – Function that migrates a given theme.json structure to the last version.
WP_Http_Streams
WP_Customize_Section
SimplePie::status_code() – Get the last HTTP status code
SimplePie::set_https_domains() – Set the list of domains for which to force HTTPS.
SimplePie
SimplePie::get_cache_filename() – Return the filename (i.e. hash, without path and without extension) of the file to cache a given URL.
Services_JSON_Error
note_sidebar_being_rendered() – Make a note of the sidebar being rendered before WordPress starts rendering it. This lets us get to the current sidebar in render_block_core_widget_group().
discard_sidebar_being_rendered() – Clear whatever we set in note_sidebar_being_rendered() after WordPress finishes rendering a sidebar.
register_block_core_site_icon_setting() – Register a core site setting for a site icon
delete_option_site_logo – action
block_core_navigation_render_submenu_icon() – Returns the top-level submenu SVG chevron icon.
block_core_navigation_sort_menu_items_by_parent_id() – Sorts a standard array of menu items into a nested structure keyed by the id of the parent menu.
register_block_core_navigation_submenu() – Register the navigation submenu block.
render_block_core_navigation_submenu() – Renders the `core/navigation-submenu` block.
block_core_navigation_submenu_build_css_font_sizes() – Build an array with CSS classes and inline styles defining the font sizes which will be applied to the navigation markup in the front-end.
block_core_navigation_submenu_render_submenu_icon() – Returns the top-level submenu SVG chevron icon.
block_core_navigation_submenu_build_css_colors() – Build an array with CSS classes and inline styles defining the colors which will be applied to the navigation markup in the front-end.
1
2
3
…
45
Next Page
Search
Search