PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / trunk
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! vtrunk
3.8.0 3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 All 112 releases
templately / modules / full-site-import / Runners / Taxonomies.php

Taxonomies.php in Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! trunk, at modules/full-site-import/Runners/Taxonomies.php

33 lines 977 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Templately\Modules\FullSiteImport\Runners;
4
5 use Templately\Modules\FullSiteImport\Runners\BaseRunner;
6
7 class Taxonomies extends BaseRunner {
8 public function get_name(): string {
9 return 'taxonomies';
10 }
11
12 public function get_label(): string {
13 return __( 'Taxonomies', 'templately' );
14 }
15
16 public function should_run( $data, $imported_data = [] ): bool {
17 // === DEPRECATED / UNUSED (kept intentionally) ===
18 // Taxonomy import is NOT implemented and this runner is NOT registered in
19 // Import::register_runners(). Force-decline so it can never silently import
20 // nothing if it is ever wired into the pipeline by mistake (034 FR-009).
21 return false;
22 }
23
24 public function log_message(): string {
25 return __( 'Importing Taxonomies', 'templately' );
26 }
27
28 public function import( $data, $imported_data ): array {
29 // === DEPRECATED / UNUSED (kept intentionally) ===
30 // Not implemented — see should_run(); returns no imported data.
31 return [];
32 }
33 }