Recent

AI_Cache_CommandclassPro only

AI_Cache_Command

Manage AI answer and provider caches.

Namespace: WebberZone\Better_Search\Pro\CLI
Since: 4.5.0
Source: includes/pro/cli/class-ai-cache-command.php line 21 Extends: Base_Command

Methods

__construct()

Constructor.

Line: 35

public function __construct( Operations $operations );
Type Name Description
Operations $operations AI operations.

clear()

Clear cached AI answers and provider state.

EXAMPLES

wp bsearch ai cache clear

Since: 4.5.0
Line: 51

public function clear( array $args, array $assoc_args ): void;
Type Name Description
array $args Positional arguments.
array $assoc_args Associative arguments.

Returns: void