wpseek.com
A WordPress-centric search engine for devs and theme authors

New in WordPress 5.9

Function Short description Path
array_key_firstPolyfill for array_key_first() function added in PHP 7.3.wp-includes/compat.php
array_key_lastPolyfill for `array_key_last()` function added in PHP 7.3.wp-includes/compat.php
block_footer_areaPrint the footer template-part.wp-includes/block-template-utils.php
block_header_areaPrint the header template-part.wp-includes/block-template-utils.php
block_template_partPrint a template-part.wp-includes/block-template-utils.php
get_allowed_block_template_part_areasReturns a filtered list of allowed area values for template parts.wp-includes/block-template-utils.php
get_block_file_templateRetrieves a single unified template object using its id.wp-includes/block-template-utils.php
get_block_metadata_i18n_schemaGets i18n schema for block's metadata read from `block.json` file.wp-includes/blocks.php
get_block_theme_foldersFor backward compatibility reasons, block themes might be using block-templates or block-template-parts, this function ensures we fallback to these folders properly.wp-includes/block-template-utils.php
get_default_block_template_typesReturns a filtered list of default template types, containing their localized titles and descriptions.wp-includes/block-template-utils.php
get_query_pagination_arrowHelper function that returns the proper pagination arrow HTML for `QueryPaginationNext` and `QueryPaginationPrevious` blocks based on the provided `paginationArrow` from `QueryPagination` context.wp-includes/blocks.php
rest_get_route_for_post_type_itemsGets the REST API route for a post type.wp-includes/rest-api.php
rest_get_route_for_taxonomy_itemsGets the REST API route for a taxonomy.wp-includes/rest-api.php
str_containsPolyfill for `str_contains()` function added in PHP 8.0.wp-includes/compat.php
str_ends_withPolyfill for `str_ends_with()` function added in PHP 8.0.wp-includes/compat.php
str_starts_withPolyfill for `str_starts_with()` function added in PHP 8.0.wp-includes/compat.php
translate_settings_using_i18n_schemaTranslates the provided settings value using its i18n schema.wp-includes/l10n.php
wp_admin_bar_edit_site_menuAdds the "Edit site" link to the Toolbar.wp-includes/admin-bar.php
wp_apply_dimensions_supportAdds CSS classes for block dimensions to the incoming attributes array.wp-includes/block-supports/dimensions.php
wp_enqueue_block_styleEnqueues a stylesheet for a specific block.wp-includes/script-loader.php
wp_enqueue_global_styles_css_custom_propertiesFunction that enqueues the CSS Custom Properties coming from theme.json.wp-includes/script-loader.php
wp_filter_global_styles_postSanitizes global styles user content removing unsafe rules.wp-includes/kses.php
wp_generate_block_templates_export_fileCreates an export of the current templates and template parts from the site editor at the specified path in a ZIP file.wp-includes/block-template-utils.php
wp_get_duotone_filter_propertyReturns the CSS filter property url to reference the rendered SVG.wp-includes/block-supports/duotone.php
wp_get_global_settingsFunction to get the settings resulting of merging core, theme, and user data.wp-includes/global-styles-and-settings.php
wp_get_global_stylesFunction to get the styles resulting of merging core, theme, and user data.wp-includes/global-styles-and-settings.php
wp_get_global_stylesheetReturns the stylesheet resulting of merging core, theme, and user data.wp-includes/global-styles-and-settings.php
wp_get_layout_styleGenerates the CSS corresponding to the provided layout.wp-includes/block-supports/layout.php
wp_get_loading_attr_defaultGets the default value to use for a `loading` attribute on an element.wp-includes/media.php
wp_get_post_revisions_urlReturns the url for viewing and potentially restoring revisions of a given post.wp-includes/revision.php
wp_get_sidebarRetrieves the registered sidebar with the given ID.wp-includes/widgets.php
wp_increase_content_media_countIncreases an internal content media count variable.wp-includes/media.php
wp_is_application_passwords_supportedChecks if Application Passwords is supported.wp-includes/user.php
wp_is_block_themeReturns whether the active theme is a block-based theme or not.wp-includes/theme.php
wp_json_file_decodeReads and decodes a JSON file.wp-includes/functions.php
wp_list_usersLists all the users of the site, with several options available.wp-includes/user.php
wp_maybe_enqueue_oembed_host_jsEnqueue the wp-embed script if the provided oEmbed HTML contains a post embed.wp-includes/embed.php
wp_omit_loading_attr_thresholdGets the threshold for how many of the first content media elements to not lazy-load.wp-includes/media.php
wp_readonlyOutputs the HTML readonly attribute.wp-includes/general-template.php
wp_register_dimensions_supportRegisters the style block attribute for block types that support it.wp-includes/block-supports/dimensions.php
wp_render_duotone_filter_presetRenders the duotone filter SVG and returns the CSS filter property to reference the rendered SVG.wp-includes/deprecated.php
wp_set_unique_slug_on_create_template_partSets a custom slug when creating auto-draft template parts.wp-includes/theme-templates.php
wp_skip_dimensions_serializationChecks whether serialization of the current block's dimensions properties should occur.wp-includes/deprecated.php
wp_skip_spacing_serializationChecks whether serialization of the current block's spacing properties should occur.wp-includes/deprecated.php
_add_block_template_infoAttempts to add custom template information to the template item.wp-includes/block-template-utils.php
_add_block_template_part_area_infoAttempts to add the template part's area information to the input template.wp-includes/block-template-utils.php
_add_default_theme_supportsAdds default theme supports for block themes when the 'setup_theme' action fires.wp-includes/theme.php
_add_plugin_file_editor_to_toolsAdds the 'Plugin File Editor' menu item after the 'Themes File Editor' in Tools for block themes.wp-admin/menu.php
_add_template_loader_filtersAdds necessary filters to use 'wp_template' posts instead of theme template files.wp-includes/block-template.php
_build_block_template_result_from_fileBuild a unified template object based on a theme file.wp-includes/block-template-utils.php
_build_block_template_result_from_postBuild a unified template object based a post Object.wp-includes/block-template-utils.php
_disable_block_editor_for_navigation_post_typeDisables block editor for wp_navigation type posts so they can be managed via the UI.wp-admin/includes/post.php
_disable_content_editor_for_navigation_post_typeThis callback disables the content editor for wp_navigation type posts.wp-admin/includes/post.php
_enable_content_editor_for_navigation_post_typeThis callback enables content editor for wp_navigation type posts.wp-admin/includes/post.php
_filter_block_template_part_areaChecks whether the input 'area' is a supported value.wp-includes/block-template-utils.php
_flatten_blocksReturns an array containing the references of the passed blocks and their inner blocks.wp-includes/block-template-utils.php
_get_block_templates_filesRetrieves the template files from the theme.wp-includes/block-template-utils.php
_get_block_templates_pathsFinds all nested template part file paths in a theme's directory.wp-includes/block-template-utils.php
_get_block_template_fileRetrieves the template file from the theme for a given slug.wp-includes/block-template-utils.php
_inject_theme_attribute_in_block_template_contentParses wp_template content and injects the active theme's stylesheet as a theme attribute into each wp_template_partwp-includes/block-template-utils.php
_load_remote_featured_patternsRegister `Featured` (category) patterns from wordpress.org/patterns.wp-includes/block-patterns.php
_remove_theme_attribute_in_block_template_contentParses a block template and removes the theme attribute from each template part.wp-includes/block-template-utils.php
_resolve_template_for_new_postSets the current WP_Query to return auto-draft posts.wp-includes/block-template.php
_wp_multiple_block_stylesAllows multiple block styles.wp-includes/blocks.php
_wp_normalize_relative_css_linksMakes URLs relative to the WordPress installation.wp-includes/script-loader.php
_wp_tinycolor_bound_alphaDirect port of tinycolor's boundAlpha function to maintain consistency with how tinycolor works.wp-includes/block-supports/duotone.php