WordPress at a glance
function is not described

WP_Super_Cache_Rest_Update_Settings::set_wp_cache_pages() protected WPSCache 1.0

{} 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_wp_cache_pages( $cache_pages );
$cache_pages(array) (required)

Code of WP_Super_Cache_Rest_Update_Settings::set_wp_cache_pages() WPSCache 1.7.1

<?php
protected function set_wp_cache_pages( $cache_pages ) {
	if ( ! is_array( $cache_pages ) ) {
		return;
	}

	$_POST['wp_edit_rejected_pages'] = 1;

	foreach ( $cache_pages as $page => $value ) {
		if ( $value ) {
			$_POST['wp_cache_pages'][ $page ] = 1;
		}
	}

	wp_cache_update_rejected_pages();
}