Browse: Home / Classes / LearnDash_Import_Post /

LearnDash_Import_Post::set_post_tax_terms

LearnDash_Import_Post::set_post_tax_terms( int $dest_post_id,  array $term_ids,  bool $replace = false )

Set Taxonomies of Post


Description #


Parameters #

$dest_post_id

(int) (Required) Destination Post ID.

$term_ids

(array) (Required) Term IDs.

$replace

(bool) (Optional) Whether to replace the taxonomies.

Default value: false


Source #

File: includes/import/class-ld-import-post.php