WordPress at a glance
function is not described

WP_Super_Cache_Rest_Get_Status::callback() public WPSCache 1.0

Get any status that might be visible.

{} It's a method of the class: WP_Super_Cache_Rest_Get_Status{}

No Hooks.

Return

WP_Error/WP_REST_Response.

Usage

$WP_Super_Cache_Rest_Get_Status = new WP_Super_Cache_Rest_Get_Status();
$WP_Super_Cache_Rest_Get_Status->callback( $request );
$request(WP_REST_Request) (required)
Full data about the request.

Code of WP_Super_Cache_Rest_Get_Status::callback() WPSCache 1.7.1

<?php
public function callback( $request ) {
	$status = array();

	include_once( ABSPATH . 'wp-admin/includes/file.php' ); // get_home_path()
	include_once( ABSPATH . 'wp-admin/includes/misc.php' ); // extract_from_markers()
	$this->add_rewrite_status( $status );
	$this->add_cache_disabled_status( $status );
	$this->add_compression_status( $status );
	$this->add_php_mod_rewrite_status( $status );
	$this->add_preload_status( $status );

	if ( empty( $status ) ) {
		return rest_ensure_response( new stdclass() );
	} else {
		return rest_ensure_response( $status );
	}
}