Server IP : 172.67.158.161 / Your IP : 3.145.47.122 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/sieuthiweb.com.vn/wp-content/plugins/wp-all-import-pro/helpers/ |
Upload File : |
<?php /** * Contains function which were introduced in late wordpress versions */ if ( ! function_exists('is_network_admin')): /** * Whether the current request is for a network admin screen /wp-admin/network/ * * Does not inform on whether the user is a network admin! Use capability checks to * tell if the user should be accessing a section or not. * * @since 3.1.0 * * @return bool True if inside WordPress network administration pages. */ function is_network_admin() { if ( defined( 'WP_NETWORK_ADMIN' ) ) return WP_NETWORK_ADMIN; return false; } endif; if ( ! function_exists('is_user_admin')): /** * Whether the current request is for a user admin screen /wp-admin/user/ * * Does not inform on whether the user is an admin! Use capability checks to * tell if the user should be accessing a section or not. * * @since 3.1.0 * * @return bool True if inside WordPress user administration pages. */ function is_user_admin() { if ( defined( 'WP_USER_ADMIN' ) ) return WP_USER_ADMIN; return false; } endif;