Yoast\WP\SEO\Config

Indexing_Reasons{}Yoast 1.0

Class Indexing_Reasons. Contains constants that aren't context specific.

Хуков нет.

Использование

$Indexing_Reasons = new Indexing_Reasons();
// use class methods

Методы

Нет Методов у класса.

Код Indexing_Reasons{} Yoast 19.11

class Indexing_Reasons {

	/**
	 * Represents the reason that the indexing process failed and should be tried again.
	 */
	const REASON_INDEXING_FAILED = 'indexing_failed';

	/**
	 * Represents the reason that the permalink settings are changed.
	 */
	const REASON_PERMALINK_SETTINGS = 'permalink_settings_changed';

	/**
	 * Represents the reason that the category base is changed.
	 */
	const REASON_CATEGORY_BASE_PREFIX = 'category_base_changed';

	/**
	 * Represents the reason that the tag base is changed.
	 */
	const REASON_TAG_BASE_PREFIX = 'tag_base_changed';

	/**
	 * Represents the reason that the home url option is changed.
	 */
	const REASON_HOME_URL_OPTION = 'home_url_option_changed';

	/**
	 * Represents the reason that a post type has been made public.
	 */
	const REASON_POST_TYPE_MADE_PUBLIC = 'post_type_made_public';

	/**
	 * Represents the reason that a post type has been made viewable.
	 */
	const REASON_TAXONOMY_MADE_PUBLIC = 'taxonomy_made_public';
}