Skip to main content

Filter: gk/foundation/editions/module-off

Returns the keys of the built-in modules the Store switched off for a product (edition.module_off in the license answer). Every Foundation copy answers it, so a product can ask while plugins load. '*' means every module. A new answer counts from the next request.

Parameters​

NameTypeDescription
$module_offstring[]Module keys switched off, such as 'datatables'. Default: [].
$text_domainstringProduct text domain, such as 'gk-gravityview'.

Since​

  • TBD: TBD

Source​

Defined in Licenses/Editions/ModuleOff.php at line 68