do_cacheaction()WPSCache 1.0

No Hooks.

Return

null. Nothing (null).

Usage

do_cacheaction( $action, $value );
$action (required)
-
$value **
-
Default: ''

do_cacheaction() code WPSCache 1.12.4

function do_cacheaction( $action, $value = '' ) {
	global $wp_supercache_actions;

	if ( ! isset( $wp_supercache_actions ) || ! is_array( $wp_supercache_actions ) ) {
		return $value;
	}

	if ( array_key_exists( $action, $wp_supercache_actions ) && is_array( $wp_supercache_actions[ $action ] ) ) {
		$actions = $wp_supercache_actions[ $action ];
		foreach ( $actions as $func ) {
			$value = call_user_func_array( $func, array( $value ) );
		}
	}

	return $value;
}