| | |
| | | * An array of taxonomy identifiers that will be registered for the post type. Taxonomies can be registered later with register_taxonomy() or register_taxonomy_for_object_type() . |
| | | * @var array |
| | | */ |
| | | public array $taxonomies; |
| | | public array $taxonomies = []; |
| | | /** |
| | | * Whether there should be post type archives, or if a string, the archive slug to use. |
| | | * Will generate the proper rewrite rules if $rewrite is enabled. Default false. |
| | |
| | | } |
| | | |
| | | if (is_wp_error($registered)) { |
| | | JVB()->error()->log('JVBase\registrar\Posts', 'Could not register post type', $registered->get_error_messages()); |
| | | Errors::getInstance()->log('JVBase\registrar\Posts', 'Could not register post type', $registered->get_error_messages()); |
| | | } |
| | | } |
| | | |