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/MO/Generate/Process/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/wpml-string-translationOLD/classes/MO/Generate/Process/SubSiteValidator.php
<?php

namespace WPML\ST\MO\Generate\Process;

use function WPML\Container\make;

class SubSiteValidator {
	/**
	 * @return bool
	 */
	public function isValid() {
		global $sitepress;

		return $sitepress->is_setup_complete() && $this->hasTranslationFilesTable();
	}

	/**
	 * @return bool
	 */
	private function hasTranslationFilesTable() {
		return make( \WPML_Upgrade_Schema::class )->does_table_exist( 'icl_mo_files_domains' );
	}
}

Hry