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

New in WordPress 6.7

Function Short description Path
current_user_can_for_siteReturns whether the current user has the specified capability for a given site.wp-includes/capabilities.php
extract_serialized_parent_blockAccepts the serialized markup of a block and its inner blocks, and returns serialized markup of the wrapper block.wp-includes/blocks.php
get_userRetrieves user info by user ID.wp-includes/user.php
has_translationReturns a boolean to indicate whether a translation exists for a given string with optional text domain and locale.wp-includes/l10n.php
register_block_templateRegister a block template.wp-includes/block-template.php
unregister_block_templateUnregister a block template.wp-includes/block-template.php
user_can_for_siteReturns whether a particular user has the specified capability for a given site.wp-includes/capabilities.php
wp_check_comment_dataChecks whether comment data passes internal checks or has disallowed content.wp-includes/comment.php
wp_default_script_modulesRegisters all the default WordPress Script Modules.wp-includes/script-modules.php
wp_get_image_editor_output_formatDetermines the output format for the image editor.wp-includes/media.php
wp_get_wp_versionReturns the current WordPress version.wp-includes/functions.php
wp_img_tag_add_auto_sizesAdds 'auto' to the sizes attribute to the image, if the image is lazy loaded and does not already include it.wp-includes/media.php
wp_interactivity_get_elementReturns an array representation of the current element being processed.wp-includes/interactivity-api/interactivity-api.php
wp_is_heic_image_mime_typeChecks if a mime type is for a HEIC/HEIF image.wp-includes/functions.php
wp_print_font_faces_from_style_variationsGenerates and prints font-face styles defined the the theme style variations.wp-includes/fonts.php
wp_register_block_metadata_collectionRegisters a block metadata collection.wp-includes/blocks.php
wp_register_core_block_metadata_collectionRegisters the core block metadata collection.wp-includes/blocks/index.php
wp_sizes_attribute_includes_valid_autoChecks whether the given 'sizes' attribute includes the 'auto' keyword as the first item in the list.wp-includes/media.php