| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/infrafs/www/wp-content/plugins/wordpress-seo/admin/roles/ |
Upload File : |
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\Roles
*/
/**
* Role Manager Factory.
*/
class WPSEO_Role_Manager_Factory {
/**
* Retrieves the Role manager to use.
*
* @return WPSEO_Role_Manager
*/
public static function get() {
static $manager = null;
if ( $manager === null ) {
if ( function_exists( 'wpcom_vip_add_role' ) ) {
$manager = new WPSEO_Role_Manager_VIP();
}
if ( ! function_exists( 'wpcom_vip_add_role' ) ) {
$manager = new WPSEO_Role_Manager_WP();
}
}
return $manager;
}
}