- 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>
37 lines
607 B
PHP
Executable File
37 lines
607 B
PHP
Executable File
<?php
|
|
/**
|
|
* Thrive Themes - https://thrivethemes.com
|
|
*
|
|
* @package thrive-product-manager
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Silence is golden!
|
|
}
|
|
|
|
class TPM_Page_Manager {
|
|
|
|
protected static $_instance;
|
|
|
|
private function __construct() {
|
|
}
|
|
|
|
public function render() {
|
|
|
|
if ( TPM_Connection::get_instance()->is_connected() === false ) {
|
|
TPM_Connection::get_instance()->render();
|
|
} else {
|
|
TPM_Product_List::get_instance()->render();
|
|
}
|
|
}
|
|
|
|
public static function get_instance() {
|
|
|
|
if ( ! self::$_instance ) {
|
|
self::$_instance = new self();
|
|
}
|
|
|
|
return self::$_instance;
|
|
}
|
|
}
|