WPDev.one
Core Function
View Source on Trac ↗

is_term_publicly_viewable()

is_term_publicly_viewable( mixed $term )

Determines whether a term is publicly viewable.

Parameters 1 required

Name / Type Description
(int

| WP_Term) $term Term ID or term object.

Required

Return Value

(bool)
Whether the term is publicly viewable.

Function Information

Since Version
6.1.0
Source File
wp-includes/taxonomy.php
Advertisement