\Barn2\Plugin\Posts_Table_ProConfig_Builder

Responsible for creating the posts table config script.

Summary

Methods
Properties
Constants
__construct()
get_config()
get_filters()
$id
$args
$columns
No constants found
No protected methods found
No protected properties found
N/A
get_filter_heading()
get_terms_for_filter()
build_term_tree()
array_filter_length_menu()
No private properties found
N/A

Properties

$id

$id :string

Type

string—The table ID.

Methods

get_config()

get_config(): array

Build config for this table to add as an inline script below table.

Returns

array —

The posts table config

get_filters()

get_filters()

get_filter_heading()

get_filter_heading(  $index,  $filter)

Parameters

$index
$filter

get_terms_for_filter()

get_terms_for_filter(  $taxonomy)

Parameters

$taxonomy

build_term_tree()

build_term_tree(array  $terms,  $parent_id)

Parameters

array $terms
$parent_id

array_filter_length_menu()

array_filter_length_menu(  $length)

Parameters

$length