┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/var/www/html/kallisti-og/wp-content/plugins/coblocks/includes/traits
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: trait-coblocks-singleton.php
<?php /** * Trait for our Singleton pattern. * * @package CoBlocks */ /** * Trait for our Singleton pattern. * * @since 2.3.0 */ trait CoBlocks_Singleton_Trait { /** * The object instance. * * @var Object */ private static $instance = null; /** * Return the plugin instance. * * @return Object */ public static function register() { if ( ! self::$instance ) { self::$instance = new self(); } return self::$instance; } /** * Reset the plugin instance. */ public static function reset() { self::$instance = null; } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 trait-coblocks-singleton.php
PHP
565 B
2026-05-20 09:33
EDIT