ClassesBigCommerceSchemaUser Roles

User_Roles

Properties

schema_version

protected int $schema_version

Methods

__construct

public __construct(array $roles): mixed

Parameters:

ParameterTypeDescription
$rolesarray

register_roles

Register tables with WordPress, and create them if needed

public register_roles(): void

Inherited methods

schema_update_required

Determine if the database schema is out of date by comparing the integer found in $this->schema_version with the option set in the WordPress options table

protected schema_update_required(): bool

mark_schema_update_complete

Update the option in WordPress to indicate that our schema is now up to date

protected mark_schema_update_complete(): void


Automatically generated on 2025-01-21