WP_CLI\Dispatcher
CommandFactory::clear_file_contents_cache()
Clear the file contents cache.
Method of the class: CommandFactory{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = CommandFactory::clear_file_contents_cache();
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 = []; }