WP_Super_Cache_Rest_Update_Settings::set_cache_direct_pages
set the cached direct pages list.
Method of the class: WP_Super_Cache_Rest_Update_Settings{}
No Hooks.
Returns
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() WP Super Cache Rest Update Settings::set cache direct pages code WPSCache 3.0.3
protected function set_cache_direct_pages( $list ) {
if ( is_array( $list ) == false ) {
return false;
}
$_POST[ 'direct_pages' ] = $list;
wpsc_update_direct_pages();
}