wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php:120Retrieves all icons.
$requestWP_REST_RequestWP_REST_Response|WP_Error public function get_items( $request ) { $response = array(); $search = $request->get_param( 'search' ); $icons = WP_Icons_Registry::get_instance()->get_registered_icons( $search ); foreach ( $icons as $icon ) { $prepared_icon = $this->prepare_item_for_response( $icon, $request ); $response[] = $this->prepare_response_for_collection( $prepared_icon ); } return rest_ensure_response( $response ); }Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/rest-api/endpoints/class-wp-rest-icons-controller.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.