WP_Term_Query::populate_terms

SummerySummery

Creates an array of term objects from an array of term IDs.

Syntax

WP_Term_Query::populate_terms( array $term_ids )

DescriptionDescription

Also discards invalid term objects.

ParametersParameters

$term_ids

(array) (Required) Term IDs.

ReturnReturn

(array)

SourceSource

File: wp-includes/class-wp-term-query.php


			

ChangelogChangelog

Changelog
Version Description
4.9.8 Introduced.
Scroll to Top