Config::configure_plugin_before_boot( string $plugin_name, string $prefix, string $version, string $file, bool $debug )
Initialize the class and setup its properties.
Contents
Parameters Parameters
- $plugin_name
-
(Required) The name of the plugin
- $prefix
-
(Required) The variable used to prefix filters and actions
- $version
-
(Required) The version of this plugin
- $file
-
(Required) The main plugin file __FILE__
- $debug
-
(Required) Whether debug log in php and js files are enabled
Source Source
File: src/config.php
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |