\lloc\Msls\ContentImport\Importers\TermsShallowDuplicating

Class ShallowDuplicating

Duplicates, if needed, the terms assigned to the post without recursion for hierarchical taxonomies.

Summary

Methods
Properties
Constants
__construct()
import()
set_import_coordinates()
get_logger()
get_relations()
info()
$import_coordinates
$logger
$relations
TYPE
create_local_term()
filter_term_meta()
update_object_terms()
$reset_taxonomies
N/A
No private methods found
No private properties found
N/A

Constants

TYPE

TYPE

Properties

$reset_taxonomies

$reset_taxonomies : array

Type

array

Methods

import()

import(array  $data) : array

Parameters

array $data

Returns

array

info()

info() : \stdClass

Returns an array of information about the importer.

Returns

\stdClass

create_local_term()

create_local_term(\WP_Term  $term, \lloc\Msls\MslsOptionsTax  $msls_term,   $dest_lang) 

Parameters

\WP_Term $term
\lloc\Msls\MslsOptionsTax $msls_term
$dest_lang

filter_term_meta()

filter_term_meta(array  $meta, \WP_Term  $term) 

Parameters

array $meta
\WP_Term $term

update_object_terms()

update_object_terms(  $object_id,   $dest_term_id,   $taxonomy) 

Parameters

$object_id
$dest_term_id
$taxonomy