You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.1 KiB
68 lines
1.1 KiB
<?php |
|
/** |
|
* WPSEO plugin file. |
|
* |
|
* @package WPSEO\Frontend\Schema |
|
*/ |
|
|
|
/** |
|
* Constants used for @id variables. |
|
* |
|
* @since 10.2 |
|
*/ |
|
class WPSEO_Schema_IDs { |
|
/** |
|
* Hash used for the Author `@id`. |
|
*/ |
|
const AUTHOR_HASH = '#author'; |
|
|
|
/** |
|
* Hash used for the Author Logo's `@id`. |
|
*/ |
|
const AUTHOR_LOGO_HASH = '#authorlogo'; |
|
|
|
/** |
|
* Hash used for the Breadcrumb's `@id`. |
|
*/ |
|
const BREADCRUMB_HASH = '#breadcrumb'; |
|
|
|
/** |
|
* Hash used for the Person `@id`. |
|
*/ |
|
const PERSON_HASH = '#/schema/person/'; |
|
|
|
/** |
|
* Hash used for the Article `@id`. |
|
*/ |
|
const ARTICLE_HASH = '#article'; |
|
|
|
/** |
|
* Hash used for the Organization `@id`. |
|
*/ |
|
const ORGANIZATION_HASH = '#organization'; |
|
|
|
/** |
|
* Hash used for the Organization `@id`. |
|
*/ |
|
const ORGANIZATION_LOGO_HASH = '#logo'; |
|
|
|
/** |
|
* Hash used for the logo `@id`. |
|
*/ |
|
const PERSON_LOGO_HASH = '#personlogo'; |
|
|
|
/** |
|
* Hash used for an Article's primary image `@id`. |
|
*/ |
|
const PRIMARY_IMAGE_HASH = '#primaryimage'; |
|
|
|
/** |
|
* Hash used for the WebPage's `@id`. |
|
*/ |
|
const WEBPAGE_HASH = '#webpage'; |
|
|
|
/** |
|
* Hash used for the Website's `@id`. |
|
*/ |
|
const WEBSITE_HASH = '#website'; |
|
}
|
|
|