| | |
| | | $this->skeleton->setCalendar(); |
| | | } |
| | | |
| | | $this->skeleton->setDefaultStatus(); |
| | | if ($this->registrar && $this->registrar->getType() === 'post') { |
| | | $this->skeleton->setDefaultStatus(); |
| | | } else { |
| | | $this->skeleton->setStatuses([]); |
| | | } |
| | | |
| | | |
| | | // Views |
| | | $this->skeleton |
| | |
| | | * Initialize taxonomies from WordPress config |
| | | */ |
| | | protected function initTaxonomies(): void { |
| | | $this->taxonomies = $this->registrar->registrar->taxonomies; |
| | | $this->taxonomies = ($this->registrar->getType() === 'post') ? $this->registrar->registrar->taxonomies : []; |
| | | } |
| | | |
| | | /** |