![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/walla3t.corals.io/wp-content/plugins/polylang/integrations/ |
<?php /** * @package Polylang */ /** * Container for 3rd party plugins ( and themes ) integrations. * This class is available as soon as the plugin is loaded. * * @since 1.0 * @since 2.8 Renamed from PLL_Plugins_Compat to PLL_Integrations. */ #[AllowDynamicProperties] class PLL_Integrations { /** * Singleton instance. * * @var PLL_Integrations|null */ protected static $instance; /** * Constructor. * * @since 1.0 */ protected function __construct() { // Loads external integrations. foreach ( glob( __DIR__ . '/*/load.php', GLOB_NOSORT ) as $load_script ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable require_once $load_script; // phpcs:ignore WordPressVIPMinimum.Files.IncludingFile.UsingVariable } } /** * Access to the single instance of the class. * * @since 1.7 * * @return PLL_Integrations */ public static function instance() { if ( empty( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } } class_alias( 'PLL_Integrations', 'PLL_Plugins_Compat' ); // For Backward compatibility.