WordPress at a glance
function is not described

WP_Super_Cache_Rest_Update_Settings::new_direct_page() protected WPSCache 1.0

add an entry to the cached direct pages list.

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

No Hooks.

Return

Null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->new_direct_page( $value );

Code of WP_Super_Cache_Rest_Update_Settings::new_direct_page() WPSCache 1.7.1

<?php
protected function new_direct_page( $value ) {
	global $cached_direct_pages;

	if ( isset( $_POST[ 'direct_pages' ] ) == false ) {
		$_POST[ 'direct_pages' ] = $cached_direct_pages;
	}

	$_POST[ 'new_direct_page' ] = $value;
	wpsc_update_direct_pages();
}