Astra_Menu::get_instance()
Initiator
Description
Return
(object) initialized object of class.
Source
File: admin/includes/class-astra-menu.php
public static function get_instance() { if ( ! isset( self::$instance ) ) { /** @psalm-suppress InvalidPropertyAssignmentValue */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort self::$instance = new self(); /** @psalm-suppress InvalidPropertyAssignmentValue */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort } return self::$instance; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |