WP_Super_Cache_Rest_Update_Settings::set_cache_direct_pages()protectedWPSCache 1.0

set 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->set_cache_direct_pages( $list );
$list (required)
-

Code of WP_Super_Cache_Rest_Update_Settings::set_cache_direct_pages() WPSCache 1.8

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

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