HEX
Server: Apache
System: Linux sxb1plmcpnl510113.prod.sxb1.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: acnbijigo78q (10488831)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/acnbijigo78q/public_html/wp-content/plugins/wpml-ninja-forms/classes/SharedAPI/NinjaForms.php
<?php

namespace WPML\Forms\NinjaForms\SharedAPI;

use WPML\Forms\Loader\Base;
use WPML\Forms\Translation\Factory;

class NinjaForms extends Base {

	/** Gets package slug. */
	protected function getSlug() {
		return 'ninja-forms';
	}

	/** Gets package title. */
	protected function getTitle() {
		return 'Ninja Forms';
	}

	/** Adds hooks. */
	protected function addHooks() {

		$factory = new Factory( $this->preferences );

		$strings = new Strings(
			$this->getSlug(),
			$this->getTitle(),
			$factory
		);
		$strings->addHooks();

		$notifications = new Notifications(
			$this->getSlug(),
			$this->getTitle(),
			$factory
		);
		$notifications->addHooks();

		$package_filter = new Package( $this->getSlug() );
		$package_filter->addHooks();
	}
}