| Server IP : 121.121.20.254 / Your IP : 216.73.216.145 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/wpmu-dev-seo/includes/core/wpml/ |
Upload File : |
<?php
namespace SmartCrawl\WPML;
/**
* @method array|\WP_Error wpml_get_language_information( $empty_value = null, int $post_id = null )
* @method string get_current_language()
* @method array get_active_languages( bool $refresh = false, bool $major_first = false, string $order_by = 'english_name' )
* @method string get_default_language()
* @method bool|string convert_url( string $url, string $code = null )
* @method mixed get_setting( string $key, mixed $default = false )
*/
class Api {
public function __call( $name, $arguments ) {
if ( function_exists( $name ) ) {
return call_user_func_array( $name, $arguments );
}
global $sitepress;
if ( empty( $sitepress ) ) {
return null;
}
if ( method_exists( $sitepress, $name ) ) {
return call_user_func_array(
array( $sitepress, $name ),
$arguments
);
}
return null;
}
}