Files
roi-theme/wp-content/plugins/thrive-product-manager/inc/classes/class-tpm-page-manager.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- 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>
2025-11-03 21:04:30 -06:00

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;
}
}