Property | Type | Description | |
---|---|---|---|
$id | string | Setting page id. |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
add_settings_page ( $pages ) | Add this page to settings. | |
get_sections ( ) : array | Get sections. | |
get_settings ( ) : array | Get settings array. | |
output ( ) | Output the settings. | |
output_tax_rates ( ) | Output tax rate tables. | |
save ( ) | Save settings. | |
save_tax_rates ( ) | Save tax rates. |
Method | Description | |
---|---|---|
get_current_tax_class ( ) : string | Get tax class being edited. | |
get_posted_tax_rate ( string $key, integer $order, string $class ) : array | Get a posted tax rate. |