Current File : /home/bdmcricketindia.in/public_html/wp-content/plugins/wordpress-seo/src/helpers/robots-helper.php
<?php

namespace Yoast\WP\SEO\Helpers;

use Yoast\WP\SEO\Models\Indexable;

/**
 * A helper object for the robots meta tag.
 */
class Robots_Helper {

	/**
	 * Holds the Post_Type_Helper.
	 *
	 * @var Post_Type_Helper
	 */
	protected $post_type_helper;

	/**
	 * Holds the Taxonomy_Helper.
	 *
	 * @var Taxonomy_Helper
	 */
	protected $taxonomy_helper;

	/**
	 * Constructs a Score_Helper.
	 *
	 * @param Post_Type_Helper $post_type_helper The Post_Type_Helper.
	 * @param Taxonomy_Helper  $taxonomy_helper  The Taxonomy_Helper.
	 */
	public function __construct( Post_Type_Helper $post_type_helper, Taxonomy_Helper $taxonomy_helper ) {
		$this->post_type_helper = $post_type_helper;
		$this->taxonomy_helper  = $taxonomy_helper;
	}

	/**
	 * Retrieves whether the Indexable is indexable.
	 *
	 * @param Indexable $indexable The Indexable.
	 *
	 * @return bool Whether the Indexable is indexable.
	 */
	public function is_indexable( Indexable $indexable ) {
		if ( $indexable->is_robots_noindex === null ) {
			// No individual value set, check the global setting.
			switch ( $indexable->object_type ) {
				case 'post':
					return $this->post_type_helper->is_indexable( $indexable->object_sub_type );
				case 'term':
					return $this->taxonomy_helper->is_indexable( $indexable->object_sub_type );
			}
		}

		return $indexable->is_robots_noindex === false;
	}

	/**
	 * Sets the robots index to noindex.
	 *
	 * @param array $robots The current robots value.
	 *
	 * @return array The altered robots string.
	 */
	public function set_robots_no_index( $robots ) {
		if ( ! \is_array( $robots ) ) {
			\_deprecated_argument( __METHOD__, '14.1', '$robots has to be a key-value paired array.' );
			return $robots;
		}

		$robots['index'] = 'noindex';

		return $robots;
	}
}
BDM Cricket India: tips, teams, tournaments

Recent Posts

2025 с инновационными функциями и современным дизайном.851

Содержимое Онлайн Казино 2025: Инновационные Функции и Современный Дизайн Топ Онлайн Казино 2025 Игры на деньги в онлайн-казино 2025 Казино онлайн 2025: будущее игроков Инновационные функции в казино онлайн 2025 Новейшие технологии для игроков Безопасность и аутентификация Мультимедийные игры и интерфейсы Модернизация дизайна и интерфейса в онлайн-казино 2025 Интерактивность и …

Read More »

Could Crazy Time Live Be the Next Big Thing in Interactive Entertainment

Could Crazy Time Live Be the Next Big Thing in Interactive Entertainment? The Mechanics of Crazy Time Live Engaging Presenters The Game Flow Features That Make Crazy Time Live Stand Out The Influence of Social Interaction The Role of Technology Examining the Audience Engagement Strategies Adapting to Market Trends Potential …

Read More »

Claim Your Spot in the High-Stakes Game with Billionaire Spin Login!

Claim Your Spot in the High-Stakes Game with Billionaire Spin Login! A Comprehensive Overview of the Platform Navigating the User Interface with Ease Understanding the Registration Process Choosing Strong Security Measures Exploring Game Variety and Features Promotions and Bonuses That Excite Strategies for Successful Play Banking Options at Your Fingertips …

Read More »

Plinko Casino Game Online – Enjoy High Stakes Action.442

Plinko Casino Game Online Experience High Stakes Thrills and Fun ▶️ PLAY Содержимое Plinko Casino Game: Rules and Basics How to Play Plinko Online Step 1: Choose a Reliable Plinko Casino Step 2: Understand the Plinko Game Mechanics Step 3: Strategize Your Gameplay Strategies for Winning Big in Plinko Understand …

Read More »

CASHlib Casinos in Deutschland – Was bieten sie?

CASHlib Casinos gewinnen in Deutschland immer mehr an Bedeutung. Diese Casinos ermöglichen es Spielern, anonym und sicher mit Prepaid-Guthaben zu bezahlen – ganz ohne Bankverbindung oder Kreditkarte. Besonders für Nutzer, die auf Datenschutz und schnelle Transaktionen Wert legen, sind sie eine interessante Alternative.

Was bieten CASHlib Casinos?

  • Schnelle und anonyme Einzahlungen ohne Registrierung bei Drittanbietern
  • Breites Spielangebot von Slots bis zu Live-Dealer-Spielen
  • Regelmäßige Aktionen wie Freispiele und Cashback
  • Attraktive Willkommensboni für neue Spieler
  • EU-lizenzierte Anbieter mit hohen Sicherheitsstandards

Ein großer Vorteil von CASHlib ist, dass keine sensiblen Bankdaten im Casino hinterlegt werden müssen. Die Gutscheine sind online oder in vielen Verkaufsstellen erhältlich und können sofort verwendet werden. Dadurch entfällt auch die Notwendigkeit, persönliche Daten bei Einzahlungen preiszugeben – ein echter Pluspunkt für sicherheitsbewusste Spieler.

Viele spielothekgermany.com/de/spielothek/cashlib-casinos/ bieten zudem mobile Kompatibilität, einfache Menüführung und professionellen Spielerschutz. Wer nach einem unkomplizierten Zahlungsweg mit solider Auswahl an Spielen und Bonusangeboten sucht, wird bei diesen Plattformen fündig. Die Kombination aus Bequemlichkeit, Sicherheit und einem attraktiven Bonusangebot macht CASHlib Casinos zu einer beliebten Wahl für deutsche Nutzer.

slot 7