1 | <?php |
||
14 | final class Taxonomy |
||
15 | { |
||
16 | use Singleton; |
||
17 | |||
18 | /** |
||
19 | * @traitDoc |
||
20 | */ |
||
21 | public function initializes() |
||
25 | |||
26 | /** |
||
27 | * Get all taxonomy name and label by given post type name |
||
28 | * |
||
29 | * @param string $post_type |
||
30 | * @since 1.0.0 |
||
31 | * @return array |
||
32 | */ |
||
33 | public function get($post_type) { |
||
53 | |||
54 | /** |
||
55 | * Get taxonomy label from taxonomy name |
||
56 | * |
||
57 | * @param string $taxonomy_name |
||
58 | * @since 1.0.0 |
||
59 | * @return string |
||
60 | */ |
||
61 | public function get_label_from_name($name) { |
||
64 | } |