Class for Extensions API
Description
Source
File: src/components/extensions.php
class Extensions extends Extensions_Base { /** * Constructor. * * @since 1.0.0 * * @param string $prefix The prefix. * @param Translations_Extensions $translations Translations instance. */ public function __construct( $prefix, $translations ) { $this->base_class = Extension::class; parent::__construct( $prefix, $translations ); } }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |
Methods
- __construct — Constructor.