WP_Super_Cache_Rest_Update_Settings::set_cache_direct_pages()protectedWPSCache 1.0

set the cached direct pages list.

Method of the class: WP_Super_Cache_Rest_Update_Settings{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->set_cache_direct_pages( $list );
$list (required)
-

WP_Super_Cache_Rest_Update_Settings::set_cache_direct_pages() code WPSCache 1.12.1

protected function set_cache_direct_pages( $list ) {
	if ( is_array( $list ) == false ) {
		return false;
	}

	$_POST[ 'direct_pages' ] = $list;
	wpsc_update_direct_pages();
}