HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/.Trash/eurocasa/public_html/wp-content/plugins/wordpress-seo/src/deprecated/i18n/i18n-v3.php
<?php
/**
 * Yoast I18n module.
 *
 * @package Yoast\I18n-module
 */

/**
 * This class defines a promo box and checks your translation site's API for stats about it,
 * then shows them to the user.
 *
 * @deprecated 19.12
 * @codeCoverageIgnore
 * @phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid
 */
class Yoast_I18n_v3 {

	/**
	 * Class constructor.
	 *
	 * @deprecated 19.12
	 * @codeCoverageIgnore
	 *
	 * @param array $args                 Contains the settings for the class.
	 * @param bool  $show_translation_box Whether the translation box should be shown.
	 */
	public function __construct( $args, $show_translation_box = true ) {
		\_deprecated_function( __METHOD__, 'Yoast SEO 19.12' );
	}

	/**
	 * Returns whether the language is en_US.
	 *
	 * @deprecated 19.12
	 * @codeCoverageIgnore
	 *
	 * @param string $language The language to check.
	 *
	 * @return bool Returns true if the language is en_US.
	 */
	protected function is_default_language( $language ) {
		\_deprecated_function( __METHOD__, 'Yoast SEO 19.12' );
		return true;
	}

	/**
	 * Returns the i18n_promo message from the i18n_module. Returns en empty string if the promo shouldn't be shown.
	 *
	 * @deprecated 19.12
	 * @codeCoverageIgnore
	 *
	 * @access public
	 *
	 * @return string The i18n promo message.
	 */
	public function get_promo_message() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 19.12' );
		return '';
	}

	/**
	 * Returns a button that can be used to dismiss the i18n-message.
	 *
	 * @deprecated 19.12
	 * @codeCoverageIgnore
	 *
	 * @access private
	 *
	 * @return string
	 */
	public function get_dismiss_i18n_message_button() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 19.12' );
		return '';
	}

	/**
	 * Outputs a promo box.
	 *
	 * @deprecated 19.12
	 * @codeCoverageIgnore
	 *
	 * @access public
	 */
	public function promo() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 19.12' );
	}

	/**
	 * The API URL to use when requesting translation information.
	 *
	 * @deprecated 19.12
	 * @codeCoverageIgnore
	 *
	 * @param string $api_url The new API URL.
	 */
	public function set_api_url( $api_url ) {
		\_deprecated_function( __METHOD__, 'Yoast SEO 19.12' );
	}
}