BYPASS SHELL BY ./RAZORGANZ
Server: nginx/1.20.1
System: Linux iZdzfnv9mwfppeZ 5.10.134-19.2.al8.x86_64 #1 SMP Wed Oct 29 22:47:09 CST 2025 x86_64
User: apache (48)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins.bak/learnpress/inc/TemplateHooks/Profile/ProfileOrdersTemplate.php
<?php
/**
 * Class ProfileOrdersTemplate.
 *
 * @since 4.2.6.2
 * @version 1.0.0
 */
namespace LearnPress\TemplateHooks\Profile;

use LearnPress\Helpers\Template;

class ProfileOrdersTemplate {
	public static function instance() {
		static $instance = null;

		if ( is_null( $instance ) ) {
			$instance = new self();
		}

		return $instance;
	}

	public static function tab_content() {
		do_action( 'learn-press/profile/layout/orders' );
	}

	protected function __construct() {
		add_action( 'learn-press/profile/layout/orders', [ $this, 'sections' ], 2 );
	}

	public static function init() {
		self::instance();
	}

	public function sections( $data ) {
		echo '<div class="profile-orders">';
		Template::instance()->get_template(
			LP_PLUGIN_PATH . 'templates/profile/tabs/orders/list.php'
		);
		Template::instance()->get_template(
			LP_PLUGIN_PATH . 'templates/profile/tabs/orders/recover-order.php'
		);
		echo '</div>';
	}
}