HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/healthcaremadeeasyagency/public_html/wp-content/plugins/wpseo-local/src/wordpress/wrapper.php
<?php
/**
 * Yoast SEO Local Plugin File.
 *
 * @package Yoast\YoastSEO\Local\WordPress
 */

namespace Yoast\WP\Local\WordPress;

/**
 * Wrapper class for WordPress globals.
 * This consists of factory functions to inject WP globals into the dependency container.
 */
class Wrapper {

	/**
	 * Wrapper method for returning the wpdb object for use in dependency injection.
	 *
	 * @return \wpdb The wpdb global.
	 */
	public static function get_wpdb() {
		global $wpdb;

		return $wpdb;
	}

	/**
	 * Wrapper method for returning the wp_query object for use in dependency injection.
	 *
	 * @return \WP_Query The wp_query global.
	 */
	public static function get_wp_query() {
		global $wp_query;

		return $wp_query;
	}
}