/** * Creates a new instance. Called on 'after_setup_theme'. * May be used to access class methods from outside. * * @see __construct() * @return void */ public static function instance() { null === self::$instance and self::$instance = new self(); return self::$instance; }