WordPress at a glance
function is not described

WP_Super_Cache_Rest_Get_Status::add_rewrite_status() protected WPSCache 1.0

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

Hooks from the method
Return

Null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->add_rewrite_status( $status );
$status(array) (required) (passed by reference — &)

Code of WP_Super_Cache_Rest_Get_Status::add_rewrite_status() WPSCache 1.7.1

<?php
protected function add_rewrite_status( & $status ) {
	global $home_path, $wp_cache_config_file;

	include( $wp_cache_config_file );

	// Return if the rewrite caching is disabled.
	if ( ! $cache_enabled || ! $super_cache_enabled || ! $wp_cache_mod_rewrite ) {
		return;
	}

	$scrules = implode( "\n", extract_from_markers( $home_path . '.htaccess', 'WPSuperCache' ) );
	extract( wpsc_get_htaccess_info() );

	if ( $scrules != $rules ) {
		$status[ 'mod_rewrite_rules' ] = true;
	}
	$got_rewrite = apache_mod_loaded( 'mod_rewrite', true );
	if ( $wp_cache_mod_rewrite && false == apply_filters( 'got_rewrite', $got_rewrite ) ) {
		$status[ 'mod_rewrite_missing' ] = true;
	}

	if ( !is_writeable_ACLSafe( $home_path . ".htaccess" ) ) {
		$status[ 'htaccess_ro' ] = true;
	}
}