Recent

Custom_Tables_AdminclassPro only

Custom_Tables_Admin

Custom Tables Admin class.

Namespace: WebberZone\Better_Search\Pro\Custom_Tables
Since: 4.2.0
Source: includes/pro/custom-tables/class-custom-tables-admin.php line 26

Methods

__construct()

Constructor.

Since: 4.2.0
Line: 63

public function __construct( Sync_Manager $sync_manager, Table_Manager $table_manager );
Type Name Description
Sync_Manager $sync_manager Sync manager instance.
Table_Manager $table_manager Table manager instance.

hooks()

Initialize hooks.

Since: 4.2.0
Line: 75

public function hooks(  );

init_admin_notices()

Initialize admin notices API.

Since: 4.2.0
Line: 131

public function init_admin_notices(  );

register_notices()

Register admin notices.

Since: 4.2.0
Line: 165

public function register_notices(  );

add_reindex_tool()

Add reindex tool.

Since: 4.2.0
Line: 260

public function add_reindex_tool(  );

handle_reindex()

Handle reindex request.

Since: 4.2.0
Line: 494

public function handle_reindex(  );

add_recency_backfill_tool()

Add the recency backfill tool.

Since: 4.5.0
Line: 528

public function add_recency_backfill_tool(  );

process_recency_backfill()

Process one batch of the recency backfill.

Since: 4.5.0
Line: 584

public function process_recency_backfill(  );

enqueue_admin_scripts()

Enqueue admin scripts.

Since: 4.2.0
Line: 632

public function enqueue_admin_scripts( $hook );
Type Name Description
string $hook Current admin page hook.

process_reindex_batch()

Process a batch of posts for reindexing.

Since: 4.2.0
Line: 677

public function process_reindex_batch(  );

get_plugin_transient()

Get plugin transient based on network context.

Since: 4.2.0
Line: 942

public function get_plugin_transient( $name ): mixed;
Type Name Description
string $name Transient name.

Returns: mixed — Transient value or false if not set.

set_plugin_transient()

Set plugin transient based on network context.

Since: 4.2.0
Line: 957

public function set_plugin_transient( $name, $value, $expiration = ... ): bool;
Type Name Description
string $name Transient name.
mixed $value Transient value.
int $expiration Expiration time in seconds.

Returns: bool — True if set, false otherwise.

delete_plugin_transient()

Delete plugin transient based on network context.

Since: 4.2.0
Line: 970

public function delete_plugin_transient( $name ): bool;
Type Name Description
string $name Transient name.

Returns: bool — True if deleted, false otherwise.

get_reindex_state()

Get reindex state.

Since: 4.2.0
Line: 982

public function get_reindex_state(  ): array|false;

Returns: array|false — Reindex state or false if not reindexing.

update_reindex_state()

Update reindex state.

Since: 4.2.0
Line: 993

public function update_reindex_state( $state );
Type Name Description
array $state State data to update.

get_reindex_state_ajax()

Get reindex state via AJAX.

Since: 4.2.0
Line: 1002

public function get_reindex_state_ajax(  );

stop_reindex()

Stop reindex process.

Since: 4.2.0
Line: 1030

public function stop_reindex(  );

handle_sync_errors()

Handle sync errors during the reindex process.

Since: 4.2.0
Line: 1053

public function handle_sync_errors( $errno, $errstr, $errfile, $errline ): bool;
Type Name Description
int $errno Error level.
string $errstr Error message.
string $errfile File where the error occurred.
int $errline Line number where the error occurred.

Returns: bool

handle_cleanup_orphans()

Handle cleanup orphans request.

Since: 4.2.0
Line: 1080

public function handle_cleanup_orphans(  );

handle_recreate_fulltext_indexes()

Handle recreate fulltext indexes request.

Since: 4.2.0
Line: 1133

public function handle_recreate_fulltext_indexes(  );

handle_convert_innodb()

Handle convert to InnoDB request.

Since: 4.3.0
Line: 1170

public function handle_convert_innodb(  );

display_crp_weight_mismatch_notice()

Display notification if Contextual Related Posts Pro is active and Tag settings are different from Better Search.

Since: 4.2.0
Line: 1210

public function display_crp_weight_mismatch_notice(  );

add_network_ecsi_settings()

Add network admin ECSI settings.

Since: 4.2.0
Line: 1264

public function add_network_ecsi_settings(  );

handle_network_ecsi_settings()

Handle network admin ECSI settings.

Since: 4.2.0
Line: 1309

public function handle_network_ecsi_settings(  );