| 1 | <?php |
||
| 5 | final class Taxonomy |
||
| 6 | { |
||
| 7 | private $taxonomy; |
||
| 8 | private $postType; |
||
| 9 | private $options; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Creates a taxonomy for the given post type |
||
| 13 | * |
||
| 14 | * @param string $taxonomy Taxonomy identifier |
||
| 15 | * @param string $postType Post type identifier |
||
| 16 | * @param array $options Array of options allowed in register_taxonomy method. See for more info |
||
| 17 | * https://codex.wordpress.org/Function_Reference/register_taxonomy |
||
| 18 | */ |
||
| 19 | public function __construct($taxonomy, $postType, $options) |
||
| 27 | |||
| 28 | public function initTaxonomy() |
||
| 32 | } |