File Manager

Current Path : /webspace/www.beetasty.be/html/wp-content/plugins/wp-seo-multilingual/classes/
Upload File :
Current File : //webspace/www.beetasty.be/html/wp-content/plugins/wp-seo-multilingual/classes/Loaders.php

<?php

namespace WPML\WPSEO;

class Loaders {

	/**
	 * @param string $wpSeoVersion
	 *
	 * @return array
	 */
	public static function get( $wpSeoVersion ) {
		$factories = [
			\WPML_WPSEO_Main_Factory::class,
			\WPML\WPSEO\PrimaryCategory\Hooks::class,
			\WPML\WPSEO\Terms\AdminHooks::class,
		];

		if ( defined( 'WPML_ST_VERSION' ) ) {
			$factories = array_merge(
				$factories,
				[
					\WPML\WPSEO\SlugTranslation\Hooks::class,
				]
			);
		}

		if ( version_compare( $wpSeoVersion, '14', '>=' ) ) {
			$factories = array_merge(
				$factories,
				[
					\WPML\WPSEO\Presentation\Hooks::class,
					\WPML\WPSEO\Meta\SocialHooks::class,
				]
			);
		}

		return $factories;
	}
}

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com