Constructor.
Description
Parameters
- $prefix
-
(string) (Required) Plugin config prefix.
- $params
-
(array) (Optional) Associative array of config parameters with their values. Default empty.
Default value: null
Source
File: src/apiapi-config.php
public function __construct( $prefix, $params = null ) { $this->prefix = $prefix; parent::__construct( $params ); $this->setup_hooks(); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |