| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Config; |
| 4 |
|
| 5 |
/** |
| 6 |
* Class Indexing_Reasons. Contains constants that aren't context specific. |
| 7 |
*/ |
| 8 |
class Indexing_Reasons { |
| 9 |
|
| 10 |
/** |
| 11 |
* Represents the reason that the indexing process failed and should be tried again. |
| 12 |
*/ |
| 13 |
public const REASON_INDEXING_FAILED = 'indexing_failed'; |
| 14 |
|
| 15 |
/** |
| 16 |
* Represents the reason that the permalink settings are changed. |
| 17 |
*/ |
| 18 |
public const REASON_PERMALINK_SETTINGS = 'permalink_settings_changed'; |
| 19 |
|
| 20 |
/** |
| 21 |
* Represents the reason that the category base is changed. |
| 22 |
*/ |
| 23 |
public const REASON_CATEGORY_BASE_PREFIX = 'category_base_changed'; |
| 24 |
|
| 25 |
/** |
| 26 |
* Represents the reason that the tag base is changed. |
| 27 |
*/ |
| 28 |
public const REASON_TAG_BASE_PREFIX = 'tag_base_changed'; |
| 29 |
|
| 30 |
/** |
| 31 |
* Represents the reason that the home url option is changed. |
| 32 |
*/ |
| 33 |
public const REASON_HOME_URL_OPTION = 'home_url_option_changed'; |
| 34 |
|
| 35 |
/** |
| 36 |
* Represents the reason that a post type has been made public. |
| 37 |
*/ |
| 38 |
public const REASON_POST_TYPE_MADE_PUBLIC = 'post_type_made_public'; |
| 39 |
|
| 40 |
/** |
| 41 |
* Represents the reason that a post type has been made viewable. |
| 42 |
*/ |
| 43 |
public const REASON_TAXONOMY_MADE_PUBLIC = 'taxonomy_made_public'; |
| 44 |
|
| 45 |
/** |
| 46 |
* Represents the reason that attachments have stopped being redirected. |
| 47 |
*/ |
| 48 |
public const REASON_ATTACHMENTS_MADE_ENABLED = 'attachments_made_enabled'; |
| 49 |
} |
| 50 |
|