LLMS_Post_Model::set_terms( array $terms, string $tax, boolean $append = false )
Update terms for the post for a given taxonomy
Parameters Parameters
- $terms
-
(array) (Required) Array of terms (name or ids).
- $tax
-
(string) (Required) The name of the tax.
- $append
-
(boolean) (Optional) If true, will append the terms, false will replace existing terms. Default is
false.Default value: false
Return Return
(bool)
Source Source
File: includes/abstracts/abstract.llms.post.model.php
return is_array( $set ); } /** * Coverts the object to an associative array *
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |