Recent

AI_Gaps_CommandclassPro only

AI_Gaps_Command

Inspect and clear AI content gaps.

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

Methods

__construct()

Constructor.

Line: 37

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

list()

List grouped unanswered questions.

OPTIONS

[–from=] : Start date in Y-m-d format.

[–to=] : End date in Y-m-d format.

[–limit=] : Maximum rows. Default: 50.

[–page=] : Page number. Default: 1.

[–format=] : Output format: table, json or csv.

EXAMPLES

wp bsearch ai gaps list
wp bsearch ai gaps list --from=2026-09-01 --format=json

Since: 4.5.0
Line: 71

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

Returns: void

export()

Export all grouped unanswered questions.

OPTIONS

[–from=] : Start date in Y-m-d format.

[–to=] : End date in Y-m-d format.

[–format=] : Output format: csv or json. Default: csv.

EXAMPLES

wp bsearch ai gaps export > content-gaps.csv

Since: 4.5.0
Line: 105

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

Returns: void

clear()

Delete all recorded AI questions.

OPTIONS

[–yes] : Skip the confirmation prompt.

EXAMPLES

wp bsearch ai gaps clear --yes

Since: 4.5.0
Line: 145

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

Returns: void