Function __global->get_tax_service_hook
Definitions
sources/ecommerce_tax.php
- Load a tax service hook into cache and return it.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$tax_service | ?ID_TEXT | Null | N/A | N/A | The name of the tax service hook to load (null: load the tax service configured with the site) |
$fail_ok | boolean | False | N/A | N/A | Whether a failure should not trigger an error |
Return
- The hook object (null: hook not found and $fail_ok was true)
- Type: ?object
- Set: N/A
- Range: N/A