Singleton::init()
Description #
Creates or returns an instance of this class.
Source #
File: includes/class/class-singleton.php
public static function init() { if ( is_null( static::$instance ) ) { static::$instance = new static(); static::$instance->run_once(); } return static::$instance; }
Expand full source code Collapse full source code View on GitHub: includes/class/class-singleton.php:53
Add your comment