WP_CLI\Dispatcher

CommandFactory::clear_file_contents_cache()public staticWP-CLI 1.0

Clear the file contents cache.

Method of the class: CommandFactory{}

No Hooks.

Return

null. Nothing.

Usage

$result = CommandFactory::clear_file_contents_cache();

CommandFactory::clear_file_contents_cache() code WP-CLI 2.8.0-alpha

public static function clear_file_contents_cache() {
	self::$file_contents = [];
}