- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
39 lines
546 B
PHP
Executable File
39 lines
546 B
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* Thrive Themes - https://thrivethemes.com
|
|
*
|
|
* @package thrive-dashboard
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Silence is golden
|
|
}
|
|
|
|
/**
|
|
* Trait TD_Singleton
|
|
*/
|
|
trait TD_Singleton {
|
|
|
|
protected static $_instance;
|
|
|
|
/**
|
|
* General singleton implementation for class instance
|
|
*
|
|
* @return static
|
|
*/
|
|
public static function get_instance() {
|
|
if ( empty( static::$_instance ) ) {
|
|
static::$_instance = new self();
|
|
}
|
|
|
|
return static::$_instance;
|
|
}
|
|
|
|
/**
|
|
* Avoid cloning
|
|
*/
|
|
protected function __clone() {
|
|
}
|
|
}
|