\ BWP_Sitemaps_Provider_Taxonomy

Summary

Methods
Properties
Constants
__construct()
get_exluder()
get_bridge()
get_domain()
get_taxonomies()
get_terms()
get_all_terms()
get_terms_by_name()
No public properties found
No constants found
No protected methods found
$plugin
$bridge
$excluder
N/A

Properties

$plugin

$plugin : 

$bridge

$bridge : 

$excluder

$excluder : 

Methods

get_exluder()

get_exluder() 

get_bridge()

get_bridge() 

get_domain()

get_domain() 

get_taxonomies()

get_taxonomies(string  $post_type = null) : array

Get all public taxonomies, optionally filtered by post type

This should never return post format

Parameters

string $post_type

optional, default to get all taxonomies

Returns

array

get_terms()

get_terms(string  $taxonomy, array  $ids = array(), array  $excluded_ids = array(), integer  $limit = 200) : array

Get all terms of a specific taxonomy, optionally filtered by term ids

Parameters

string $taxonomy
array $ids
array $excluded_ids
integer $limit

default to retrieve only last 200 terms

Returns

array

get_all_terms()

get_all_terms(string  $taxonomy) : array

Get all terms of a specific taxonomy, without a limit

Parameters

string $taxonomy

Returns

array

get_terms_by_name()

get_terms_by_name(string  $taxonomy, string  $name) : array

Get all terms, filtered by their names

This is a case insensitive search

Parameters

string $taxonomy
string $name

part of the name

Returns

array