Lines:
1 to 18 of 18
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * List of /site core REST API endpoints used in Jetpack's dashboard. * * @package automattic/jetpack */ use Automattic\Jetpack\Connection\Client; /* class Jetpack_Core_API_Site_Endpoint */ /* function Jetpack_Core_API_Site_Endpoint::get_failed_fetch_error() – Returns commonly used WP_Error indicating failure to fetch data */ /* function Jetpack_Core_API_Site_Endpoint::get_features() – Returns the result of `/sites/%s/features` endpoint call. */ /* function Jetpack_Core_API_Site_Endpoint::get_purchases() – Returns the result of `/sites/%s/purchases` endpoint call. */ /* function Jetpack_Core_API_Site_Endpoint::get_products() – Returns the result of `/sites/%d/products` endpoint call. */ /* function Jetpack_Core_API_Site_Endpoint::can_request() – Check that the current user has permissions to request information about this site. */ /* function Jetpack_Core_API_Site_Endpoint::get_benefits() – Gets an array of data that show how Jetpack is currently being used to benefit the site. */