src/i18n-v3.php
private function hide_promo() {
		$hide_promo = get_transient( 'yoast_i18n_' . $this->project_slug . '_promo_hide' );
		if ( ! $hide_promo ) {
			if ( filter_input( INPUT_GET, 'remove_i18n_promo', FILTER_VALIDATE_INT ) === 1 ) {
				// No expiration time, so this would normally not expire, but it wouldn't be copied to other sites etc.
				set_transient( 'yoast_i18n_' . $this->project_slug . '_promo_hide', true );
				$hide_promo = true;
			}
		}
		return $hide_promo;
	}
private function hide_promo() {
		$hide_promo = get_transient( 'yoast_i18n_' . $this->project_slug . '_promo_hide' );
		if ( ! $hide_promo ) {
			if ( filter_input( INPUT_GET, 'remove_i18n_promo', FILTER_VALIDATE_INT ) === 1 ) {
				// No expiration time, so this would normally not expire, but it wouldn't be copied to other sites etc.
				set_transient( 'yoast_i18n_' . $this->project_slug . '_promo_hide', true );
				$hide_promo = true;
			}
		}
		return $hide_promo;
	}
private function hide_promo ( ) { $ hide_promo = get_transient ( 'yoast_i18n_' . $ this -> project_slug . '_promo_hide' ) ; if ( ! $ hide_promo ) { if ( filter_input ( INPUT_GET , 'remove_i18n_promo' , FILTER_VALIDATE_INT ) === 1 ) { // No expiration time, so this would normally not expire, but it wouldn't be copied to other sites etc. set_transient ( 'yoast_i18n_' . $ this -> project_slug . '_promo_hide' , true ) ; $ hide_promo = true ; } } return $ hide_promo ; }
Check whether the promo should be hidden or not.

@access private

@return bool
Check whether the promo should be hidden or not .