Метод |
Описание |
|
__construct ( ) |
|
|
getBackMatterType ( $id ) : string |
Return the first (and only) back-matter-type for a specific post |
|
getChapterType ( $id ) : string |
Return the first (and only) chapter-type for a specific post |
|
getFrontMatterType ( $id ) : string |
Return the first (and only) front-matter-type for a specific post |
|
insertTerms ( ) |
Insert Front Matter, Back Matter terms and Chapter Terms |
|
registerTaxonomies ( ) |
Create a custom taxonomy for Chapter, Front Matter and Back Matter post types |
|
upgrade ( integer $version ) |
Upgrade metadata. |
|
upgradeChapterTypes ( ) |
Upgrade Chapter Types. |
|