Server IP : 104.21.14.103 / Your IP : 3.135.249.37 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/thietke365.net/wp-content/plugins/wordpress-seo/admin/capabilities/ |
Upload File : |
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Capabilities */ /** * Capability Manager Factory. */ class WPSEO_Capability_Manager_Factory { /** * Returns the Manager to use. * * @param string $plugin_type Whether it's Free or Premium. * * @return WPSEO_Capability_Manager Manager to use. */ public static function get( $plugin_type = 'free' ) { static $manager = []; if ( ! array_key_exists( $plugin_type, $manager ) ) { if ( function_exists( 'wpcom_vip_add_role_caps' ) ) { $manager[ $plugin_type ] = new WPSEO_Capability_Manager_VIP(); } if ( ! function_exists( 'wpcom_vip_add_role_caps' ) ) { $manager[ $plugin_type ] = new WPSEO_Capability_Manager_WP(); } } return $manager[ $plugin_type ]; } }