Title: 7.0.0 | Developer.WordPress.org

---

# New and updated in 7.0.0

Functions

Hooks

Classes

Methods

 * method[WP_Theme_JSON::get_block_style_variation_feature_selector()](https://developer.wordpress.org/reference/classes/wp_theme_json/get_block_style_variation_feature_selector/)
 * Applies a block style variation class to a feature selector.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_theme_json/get_block_style_variation_feature_selector/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_theme_json/get_block_style_variation_feature_selector/#uses)
   | Source: [wp-includes/class-wp-theme-json.php:5918](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-theme-json.php#L5918-L5945)
 * function[wp_enqueue_view_transitions_admin_css()](https://developer.wordpress.org/reference/functions/wp_enqueue_view_transitions_admin_css/)
 * Enqueues View Transitions CSS for the admin.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_enqueue_view_transitions_admin_css/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_enqueue_view_transitions_admin_css/#uses)
   | Source: [wp-includes/view-transitions.php:15](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/view-transitions.php#L15-L17)
 * function[wp_get_view_transitions_admin_css()](https://developer.wordpress.org/reference/functions/wp_get_view_transitions_admin_css/)
 * Gets the CSS for View Transitions in the admin.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_get_view_transitions_admin_css/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/wp_get_view_transitions_admin_css/#uses)
   | Source: [wp-includes/view-transitions.php:26](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/view-transitions.php#L26-L30)
 * function[wp_set_script_module_translations()](https://developer.wordpress.org/reference/functions/wp_set_script_module_translations/)
 * Overrides the text domain and path used to load translations for a script module.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_set_script_module_translations/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/wp_set_script_module_translations/#uses)
   | Source: [wp-includes/script-modules.php:158](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/script-modules.php#L158-L160)
 * hook[rest_block_hooks_post_types](https://developer.wordpress.org/reference/hooks/rest_block_hooks_post_types/)
 * Filters which post types should have Block Hooks applied.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/rest_block_hooks_post_types/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/rest_block_hooks_post_types/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1508](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php#L1508-L1508)
 * method[WP_REST_Icons_Controller::get_collection_params()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_collection_params/)
 * Retrieves the query params for the icons collection.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_collection_params/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_collection_params/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:313](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L313-L322)
 * method[WP_REST_Icons_Controller::get_item_schema()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item_schema/)
 * Retrieves the icon schema, conforming to JSON Schema.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item_schema/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item_schema/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:263](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L263-L303)
 * method[WP_REST_Icons_Controller::register_routes()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/register_routes/)
 * Registers the routes for the objects of the controller.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/register_routes/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/register_routes/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:37](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L37-L93)
 * method[WP_REST_Icons_Controller::get_items_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_items_permissions_check/)
 * Checks whether a given request has permission to read icons.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_items_permissions_check/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_items_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:103](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L103-L122)
 * method[WP_REST_Icons_Controller::get_item_permissions_check()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item_permissions_check/)
 * Checks if a given request has access to read a specific icon.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item_permissions_check/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item_permissions_check/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:132](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L132-L139)
 * method[WP_REST_Icons_Controller::get_items()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_items/)
 * Retrieves all icons, optionally scoped to a collection.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_items/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_items/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:150](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L150-L177)
 * method[WP_REST_Icons_Controller::get_item()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item/)
 * Retrieves a specific icon.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_item/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:187](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L187-L195)
 * method[WP_REST_Icons_Controller::get_icon()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_icon/)
 * Retrieves a specific icon from the registry.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_icon/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/get_icon/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:205](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L205-L222)
 * method[WP_REST_Icons_Controller::prepare_item_for_response()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/prepare_item_for_response/)
 * Prepare a raw icon before it gets output in a REST API response.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/prepare_item_for_response/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/prepare_item_for_response/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:234](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L234-L253)
 * class[WP_REST_Icons_Controller](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/)
 * Controller which provides a REST endpoint for the editor to read registered icons.
   Icons are grouped into collections (the default one being `core`).
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:19](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L19-L323)
 * method[WP_REST_Icons_Controller::__construct()](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/__construct/)
 * Constructs the controller.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/__construct/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_icons_controller/__construct/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:26](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php#L26-L29)
 * method[WP_REST_Attachments_Controller::get_attachment_filename()](https://developer.wordpress.org/reference/classes/wp_rest_attachments_controller/get_attachment_filename/)
 * Gets the attachment’s original file name.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_attachments_controller/get_attachment_filename/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_rest_attachments_controller/get_attachment_filename/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:2462](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php#L2462-L2476)
 * method[WP_REST_Attachments_Controller::get_attachment_filesize()](https://developer.wordpress.org/reference/classes/wp_rest_attachments_controller/get_attachment_filesize/)
 * Gets the attachment’s file size in bytes.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_rest_attachments_controller/get_attachment_filesize/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/classes/wp_rest_attachments_controller/get_attachment_filesize/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:2487](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php#L2487-L2502)
 * method[WP_REST_Abilities_V1_List_Controller::strip_internal_schema_keywords()](https://developer.wordpress.org/reference/classes/wp_rest_abilities_v1_list_controller/strip_internal_schema_keywords/)
 * Recursively removes WordPress-internal keywords from a schema.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_abilities_v1_list_controller/strip_internal_schema_keywords/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_rest_abilities_v1_list_controller/strip_internal_schema_keywords/#uses)
   | Source: [wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-list-controller.php:243](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rest-api/endpoints/class-wp-rest-abilities-v1-list-controller.php#L243-L291)
 * function[wp_cache_switch_to_blog_fallback()](https://developer.wordpress.org/reference/functions/wp_cache_switch_to_blog_fallback/)
 * Fallback logic for switching cache context when an object cache drop-in lacks
   a switch_to_blog() method.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_cache_switch_to_blog_fallback/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/wp_cache_switch_to_blog_fallback/#uses)
   | Source: [wp-includes/ms-blogs.php:611](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-blogs.php#L611-L685)
 * function[_load_script_textdomain_from_src()](https://developer.wordpress.org/reference/functions/_load_script_textdomain_from_src/)
 * Resolves and loads the translation JSON file for a given script or script module
   source URL.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/_load_script_textdomain_from_src/#used-by)
   | Uses [11 functions](https://developer.wordpress.org/reference/functions/_load_script_textdomain_from_src/#uses)
   | Source: [wp-includes/l10n.php:1208](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/l10n.php#L1208-L1345)
 * function[load_script_module_textdomain()](https://developer.wordpress.org/reference/functions/load_script_module_textdomain/)
 * Loads the translation data for a given script module ID and text domain.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/load_script_module_textdomain/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/load_script_module_textdomain/#uses)
   | Source: [wp-includes/l10n.php:1173](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/l10n.php#L1173-L1186)
 * hook[wp_get_archives_args](https://developer.wordpress.org/reference/hooks/wp_get_archives_args/)
 * Filters the arguments for displaying archive links.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_get_archives_args/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_get_archives_args/#uses)
   | Source: [wp-includes/general-template.php:2235](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/general-template.php#L2235-L2235)
 * hook[wp_trigger_error_always_run](https://developer.wordpress.org/reference/hooks/wp_trigger_error_always_run/)
 * Always fires when the given function triggers a user-level error/warning/notice/
   deprecation message.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_trigger_error_always_run/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_trigger_error_always_run/#uses)
   | Source: [wp-includes/functions.php:6206](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L6206-L6206)
 * hook[wp_trigger_error_trigger_error](https://developer.wordpress.org/reference/hooks/wp_trigger_error_trigger_error/)
 * Filters whether to trigger an error.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_trigger_error_trigger_error/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_trigger_error_trigger_error/#uses)
   | Source: [wp-includes/functions.php:6218](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L6218-L6218)
 * function[_wp_connectors_get_connector_script_module_data()](https://developer.wordpress.org/reference/functions/_wp_connectors_get_connector_script_module_data/)
 * Exposes connector settings to the connectors-wp-admin script module.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_wp_connectors_get_connector_script_module_data/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/_wp_connectors_get_connector_script_module_data/#uses)
   | Source: [wp-includes/connectors.php:902](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/connectors.php#L902-L964)
 * function[_wp_register_default_connector_settings()](https://developer.wordpress.org/reference/functions/_wp_register_default_connector_settings/)
 * Registers default connector settings.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_wp_register_default_connector_settings/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/_wp_register_default_connector_settings/#uses)
   | Source: [wp-includes/connectors.php:761](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/connectors.php#L761-L845)
 * function[_wp_connectors_pass_default_keys_to_ai_client()](https://developer.wordpress.org/reference/functions/_wp_connectors_pass_default_keys_to_ai_client/)
 * Passes stored connector API keys to the WP AI client.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_wp_connectors_pass_default_keys_to_ai_client/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/_wp_connectors_pass_default_keys_to_ai_client/#uses)
   | Source: [wp-includes/connectors.php:854](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/connectors.php#L854-L890)
 * function[_wp_connectors_init()](https://developer.wordpress.org/reference/functions/_wp_connectors_init/)
 * Initializes the connector registry with default connectors and fires the registration
   action.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_wp_connectors_init/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/_wp_connectors_init/#uses)
   | Source: [wp-includes/connectors.php:216](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/connectors.php#L216-L277)
 * hook[wp_connectors_init](https://developer.wordpress.org/reference/hooks/wp_connectors_init/)
 * Fires when the connector registry is ready for plugins to register connectors.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_connectors_init/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_connectors_init/#uses)
   | Source: [wp-includes/connectors.php:276](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/connectors.php#L276-L276)

1 [2](https://developer.wordpress.org/reference/since/7.0.0/page/2/?output_format=md)
[3](https://developer.wordpress.org/reference/since/7.0.0/page/3/?output_format=md)…
[7](https://developer.wordpress.org/reference/since/7.0.0/page/7/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/since/7.0.0/page/2/?output_format=md)