User_Roles
- Full name:
\BigCommerce\Schema\User_Roles - Parent class:
\BigCommerce\Schema\Schema
Properties
schema_version
protected int $schema_versionMethods
__construct
public __construct(array $roles): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$roles | array |
register_roles
Register tables with WordPress, and create them if needed
public register_roles(): voidInherited 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(): boolmark_schema_update_complete
Update the option in WordPress to indicate that our schema is now up to date
protected mark_schema_update_complete(): voidAutomatically generated on 2025-01-21