A WordPress-centric search engine for devs and theme authors

New in WordPress 5.5

Function Short description Path
add_allowed_optionsAdds an array of options to the list of allowed options.wp-admin/includes/plugin.php
create_initial_theme_featuresCreates the initial theme features when the 'setup_theme' action is fired.wp-includes/theme.php
esc_xmlEscaping for XML blocks.wp-includes/formatting.php
filter_default_metadataFilters into default_{$object_type}_metadata and adds in default value.wp-includes/meta.php
generate_block_asset_handleGenerates the name for an asset based on the name of the block and the field name provided.wp-includes/blocks.php
get_metadata_defaultRetrieves default metadata value for the specified meta key and object.wp-includes/meta.php
get_metadata_rawRetrieves raw metadata value for the specified object.wp-includes/meta.php
get_registered_theme_featureGets the registration config for a theme feature.wp-includes/theme.php
get_registered_theme_featuresGets the list of registered theme features.wp-includes/theme.php
register_block_patternRegisters a new pattern.wp-includes/class-wp-block-patterns-registry.php
register_block_pattern_categoryRegisters a new pattern category.wp-includes/class-wp-block-pattern-categories-registry.php
register_block_script_handleFinds a script handle for the selected block metadata field. It detects when a path to file was provided and finds a corresponding asset file with details necessary to register the script under automatically generated handle name. It returns unprocessed script handle otherwise.wp-includes/blocks.php
register_block_style_handleFinds a style handle for the block metadata field. It detects when a path to file was provided and registers the style under automatically generated handle name. It returns unprocessed style handle otherwise.wp-includes/blocks.php
register_block_type_from_metadataRegisters a block type from metadata stored in the `block.json` file.wp-includes/blocks.php
register_core_block_types_from_metadataRegisters core block types using metadata files.wp-includes/blocks/index.php
register_theme_featureRegisters a theme feature for use in add_theme_support().wp-includes/theme.php
remove_allowed_optionsRemoves a list of options from the allowed options list.wp-admin/includes/plugin.php
remove_block_asset_path_prefixRemoves the block asset's path prefix if provided.wp-includes/blocks.php
rest_default_additional_properties_to_falseSets the "additionalProperties" to false by default for all object definitions in the schema.wp-includes/rest-api.php
rest_filter_response_by_contextFilters the response to remove any fields not available in the given context.wp-includes/rest-api.php
rest_get_best_type_for_valueGets the best type for a value.wp-includes/rest-api.php
rest_get_queried_resource_routeGets the REST route for the currently queried object.wp-includes/rest-api.php
rest_get_route_for_postGets the REST API route for a post.wp-includes/rest-api.php
rest_get_route_for_termGets the REST API route for a term.wp-includes/rest-api.php
rest_handle_doing_it_wrongHandles _doing_it_wrong errors.wp-includes/rest-api.php
rest_handle_multi_type_schemaHandles getting the best type for a multi-type schema.wp-includes/rest-api.php
rest_is_arrayDetermines if a given value is array-like.wp-includes/rest-api.php
rest_is_integerDetermines if a given value is integer-like.wp-includes/rest-api.php
rest_is_objectDetermines if a given value is object-like.wp-includes/rest-api.php
rest_sanitize_arrayConverts an array-like value to an array.wp-includes/rest-api.php
rest_sanitize_objectConverts an object-like value to an object.wp-includes/rest-api.php
rest_stabilize_valueStabilizes a value following JSON Schema semantics.wp-includes/rest-api.php
rest_validate_array_contains_unique_itemsChecks if an array is made up of unique items.wp-includes/rest-api.php
unregister_block_patternUnregisters a pattern.wp-includes/class-wp-block-patterns-registry.php
unregister_block_pattern_categoryUnregisters a pattern category.wp-includes/class-wp-block-pattern-categories-registry.php
validate_theme_requirementsValidates the theme requirements for WordPress version and PHP version.wp-includes/theme.php
wp_admin_viewport_metaDisplays the viewport meta in the admin.wp-admin/includes/misc.php
wp_ajax_toggle_auto_updatesAjax handler to enable or disable plugin and theme auto-updates.wp-admin/includes/ajax-actions.php
wp_cache_get_multipleRetrieves multiple values from the cache in one call.wp-includes/cache.php
wp_enqueue_editor_block_directory_assetsEnqueues the assets required for the block directory within the block editor.wp-includes/script-loader.php
wp_filter_content_tagsFilters specific tags in post content and modifies their markup.wp-includes/media.php
wp_get_auto_update_messageDetermines the appropriate auto-update message to be displayed.wp-admin/includes/update.php
wp_get_environment_typeRetrieves the current environment type.wp-includes/load.php
wp_get_sitemap_providersGets an array of sitemap providers.wp-includes/sitemaps.php
wp_image_file_matches_image_metaDetermines if the image meta data is for the image source file.wp-includes/media.php
wp_image_src_get_dimensionsDetermines an image's width and height dimensions based on the source file.wp-includes/media.php
wp_img_tag_add_loading_attrAdds `loading` attribute to an `img` HTML tag.wp-includes/media.php
wp_img_tag_add_srcset_and_sizes_attrAdds `srcset` and `sizes` attributes to an existing `img` HTML tag.wp-includes/media.php
wp_img_tag_add_width_and_height_attrAdds `width` and `height` attributes to an `img` HTML tag.wp-includes/media.php
wp_is_auto_update_enabled_for_typeChecks whether auto-updates are enabled.wp-admin/includes/update.php
wp_is_maintenance_modeCheck if maintenance mode is enabled.wp-includes/load.php
wp_kses_xml_named_entitiesCallback for `wp_kses_normalize_entities()` regular expression.wp-includes/kses.php
wp_lazy_loading_enabledDetermines whether to add the `loading` attribute to the specified tag in the specified context.wp-includes/media.php
wp_opcache_invalidateAttempts to clear the opcode cache for an individual PHP file.wp-admin/includes/file.php
wp_register_sitemap_providerRegisters a new sitemap provider.wp-includes/sitemaps.php
wp_show_heic_upload_errorCallback to enable showing of the user error when uploading .heic images.wp-includes/media.php
wp_sitemaps_get_max_urlsGets the maximum number of URLs for a sitemap.wp-includes/sitemaps.php
wp_sitemaps_get_serverRetrieves the current Sitemaps server instance.wp-includes/sitemaps.php
wp_theme_auto_update_setting_templateReturns the JavaScript template used to display the auto-update setting for a theme.wp-admin/themes.php
_customizer_mobile_viewport_metaAdds viewport meta for mobile in Customizer.wp-admin/includes/misc.php
_register_core_block_patterns_and_categoriesRegisters the core block patterns and categories.wp-includes/block-patterns.php
_wp_register_meta_args_allowed_listFilters out `register_meta()` args based on an allowed list.wp-includes/meta.php