2020-05-02 / 5142阅 / 悠然
Determine if the given object is associated with any of the given terms.
The given terms are checked against the object’s terms’ term_ids, names and slugs. Terms given as integers will>
(int)
(Required)
ID of the object (post ID, link ID, ...).
(string)
(Required)
Single taxonomy name.
(int|string|array)
(Optional)
Term term_id, name, slug or array of said.
Default value: null
(bool|WP_Error) WP_Error on input error.