ClassesBigCommerceSettingsSectionsTroubleshooting Diagnostics

Troubleshooting_Diagnostics

Class Troubleshooting_Diagnostics

Constants

ConstantVisibilityTypeValue
NAMEpublic’bigcommerce_diagnostics’
DIAGNOSTICS_IDpublic’bigcommerce_diagnostics_id’
DIAGNOSTICS_NAMEpublic’bigcommerce_diagnostics_name’
ABORT_NAMEpublic’bigcommerce_diagnostics_import_abort’
FLUSH_USERpublic’bigcommerce_diagnostics_cache_user’
FLUSH_PRODUCTSpublic’bigcommerce_diagnostics_cache_products’
TEXTBOX_NAMEpublic’bigcommerce_diagnostics_output’
LOG_ERRORSpublic’bigcommerce_diagnostics_log_import_errors’
LOG_FILE_SIZEpublic’bigcommerce_diagnostics_log_file_size’
SYNC_SITE_URLpublic’bigcommerce_diagnostics_sync_site_url’
USERS_TRANSIENTpublic’bigcommerce_users_transient_interval’
AJAX_ACTIONpublic’bigcommerce_support_data’
AJAX_ACTION_IMPORT_ERRORSpublic’bigcommerce_import_errors_log’

Properties

plugin_path

Plugin path

protected string $plugin_path

users_transient_groups

protected $users_transient_groups

Methods

__construct

public __construct(mixed $plugin_path): mixed

Parameters:

ParameterTypeDescription
$plugin_pathmixed

register_settings_section

public register_settings_section(): mixed

render_flush_cache

Renders flush cache buttons

public render_flush_cache(mixed $args): mixed

Parameters:

ParameterTypeDescription
$argsmixed

render_users_transient_settings

Renders users transient cache settings

public render_users_transient_settings(mixed $args): mixed

Parameters:

ParameterTypeDescription
$argsmixed

render_import_abort

Renders import abort button

public render_import_abort(mixed $args): mixed

Parameters:

ParameterTypeDescription
$argsmixed

render_sync_site_url

public render_sync_site_url(mixed $args): mixed

Parameters:

ParameterTypeDescription
$argsmixed

render_field

public render_field(array $args): void

Parameters:

ParameterTypeDescription
$argsarray

render_enable_import_errors

public render_enable_import_errors(mixed $args): mixed

Parameters:

ParameterTypeDescription
$argsmixed

render_log_file_size

public render_log_file_size(mixed $args): mixed

Parameters:

ParameterTypeDescription
$argsmixed

get_diagnostics_data

Sets a wp_send_json answer for the ajax call that holds information about the plugin and the hosting system

public get_diagnostics_data(): mixed

get_import_errors

Responds a formatted log content

public get_import_errors(\BigCommerce\Logging\Error_Log $log): mixed

Parameters:

ParameterTypeDescription
$log\BigCommerce\Logging\Error_Log

Inherited methods

render_field

public render_field(array $args): void

Parameters:

ParameterTypeDescription
$argsarray

render_number_field

public render_number_field(array $args): void

Parameters:

ParameterTypeDescription
$argsarray

get_disabled_attr_headless

Get disabled attribute if headless option is on

public get_disabled_attr_headless(): string


Automatically generated on 2025-01-21