| | |
| | | { |
| | | public function __construct() |
| | | { |
| | | if (empty(Registrar::getFeatured('is_content', 'term'))){ |
| | | if (empty(Registrar::withFeature('is_content', 'term'))){ |
| | | return; |
| | | } |
| | | add_filter(BASE.'handle_bulk_operation', [ $this, 'processOperation' ], 10, 3); |
| | |
| | | </thead> |
| | | <tbody> |
| | | <?php |
| | | $taxonomies = Registrar::getFeatured('is_content', 'term'); |
| | | $taxonomies = Registrar::withFeature('is_content', 'term'); |
| | | foreach ($taxonomies as $slug): |
| | | $registrar = Registrar::getInstance($slug); |
| | | $taxonomy = BASE . $slug; |
| | |
| | | |
| | | <?php foreach ($results['details'] as $taxonomy => $detail): ?> |
| | | <details> |
| | | <summary class="row btw"> |
| | | <summary class="row x-btw"> |
| | | <strong><?= esc_html(ucfirst($taxonomy)) ?></strong> |
| | | <?php if ($detail['errors'] === 0): ?> |
| | | <span style="color: green;">✓ Success</span> |