| 1 |
<?php |
| 2 |
/** |
| 3 |
* WPSEO plugin file. |
| 4 |
* |
| 5 |
* @package WPSEO\Frontend\Schema |
| 6 |
*/ |
| 7 |
|
| 8 |
/** |
| 9 |
* Constants used for @id variables. |
| 10 |
* |
| 11 |
* @since 10.2 |
| 12 |
* @deprecated 14.0 |
| 13 |
*/ |
| 14 |
class WPSEO_Schema_IDs { |
| 15 |
|
| 16 |
/** |
| 17 |
* Hash used for the Author `@id`. |
| 18 |
*/ |
| 19 |
const AUTHOR_HASH = '#author'; |
| 20 |
|
| 21 |
/** |
| 22 |
* Hash used for the Author Logo's `@id`. |
| 23 |
*/ |
| 24 |
const AUTHOR_LOGO_HASH = '#authorlogo'; |
| 25 |
|
| 26 |
/** |
| 27 |
* Hash used for the Breadcrumb's `@id`. |
| 28 |
*/ |
| 29 |
const BREADCRUMB_HASH = '#breadcrumb'; |
| 30 |
|
| 31 |
/** |
| 32 |
* Hash used for the Person `@id`. |
| 33 |
*/ |
| 34 |
const PERSON_HASH = '#/schema/person/'; |
| 35 |
|
| 36 |
/** |
| 37 |
* Hash used for the Article `@id`. |
| 38 |
*/ |
| 39 |
const ARTICLE_HASH = '#article'; |
| 40 |
|
| 41 |
/** |
| 42 |
* Hash used for the Organization `@id`. |
| 43 |
*/ |
| 44 |
const ORGANIZATION_HASH = '#organization'; |
| 45 |
|
| 46 |
/** |
| 47 |
* Hash used for the Organization `@id`. |
| 48 |
*/ |
| 49 |
const ORGANIZATION_LOGO_HASH = '#logo'; |
| 50 |
|
| 51 |
/** |
| 52 |
* Hash used for the logo `@id`. |
| 53 |
*/ |
| 54 |
const PERSON_LOGO_HASH = '#personlogo'; |
| 55 |
|
| 56 |
/** |
| 57 |
* Hash used for an Article's primary image `@id`. |
| 58 |
*/ |
| 59 |
const PRIMARY_IMAGE_HASH = '#primaryimage'; |
| 60 |
|
| 61 |
/** |
| 62 |
* Hash used for the WebPage's `@id`. |
| 63 |
*/ |
| 64 |
const WEBPAGE_HASH = '#webpage'; |
| 65 |
|
| 66 |
/** |
| 67 |
* Hash used for the Website's `@id`. |
| 68 |
*/ |
| 69 |
const WEBSITE_HASH = '#website'; |
| 70 |
} |
| 71 |
|