$query The query arguments to send to the remote API. * @param bool $associative (optional) When TRUE, returned objects will be converted into associative arrays. * * @return WP_Error|array|false */ public function get_items( $query, $associative = false ); /** * Checks if the current user is allowed to make the API call. * * @return bool */ public function is_user_allowed_to_make_api_call(): bool; }