Properties

$columns

$columns :

Type

$headings

$headings :

Type

$widths

$widths :

Type

$auto_width

$auto_width :

Type

$priorities

$priorities :

Type

$column_breakpoints

$column_breakpoints :

Type

$responsive_control

$responsive_control :

Type

$responsive_display

$responsive_display :

Type

$wrap

$wrap :

Type

$show_footer

$show_footer :

Type

$search_on_click

$search_on_click :

Type

$filters

$filters :

Type

$filter_headings

$filter_headings :

Type

$scroll_offset

$scroll_offset :

Type

$content_length

$content_length :

Type

$excerpt_length

$excerpt_length :

Type

$links

$links :

Type

$lazy_load

$lazy_load :

Type

$cache

$cache :

Type

$image_size

$image_size :

Type

$lightbox

$lightbox :

Type

$shortcodes

$shortcodes :

Type

$date_format

$date_format :

Type

$date_columns

$date_columns :

Type

$no_posts_message

$no_posts_message :

Type

$no_posts_filtered_message

$no_posts_filtered_message :

Type

$paging_type

$paging_type :

Type

$page_length

$page_length :

Type

$search_box

$search_box :

Type

$totals

$totals :

Type

$pagination

$pagination :

Type

$reset_button

$reset_button :

Type

$button_text

$button_text :

Type

$rows_per_page

$rows_per_page :

Type

$post_limit

$post_limit :

Type

$sort_by

$sort_by :

Type

$sort_order

$sort_order :

Type

$post_type

$post_type :

Type

$status

$status :

Type

$category

$category :

Type

$exclude_category

$exclude_category :

Type

$tag

$tag :

Type

$term

$term :

Type

$numeric_terms

$numeric_terms :

Type

$cf

$cf :

Type

$year

$year :

Type

$month

$month :

Type

$day

$day :

Type

$author

$author :

Type

$exclude

$exclude :

Type

$include

$include :

Type

$search_term

$search_term :

Type

$show_hidden

$show_hidden :

Type

$offset

$offset :

Type

$search_filters

$search_filters :

Type

$default_args

$default_args :array

Type

array—The default table parameters

$args

$args :array

Type

array—The original args array.

Methods

__construct()

__construct(array  $args = array())

Parameters

array $args

get_args()

get_args()

set_args()

set_args(array  $args)

Parameters

array $args

get_defaults()

get_defaults()

parse_args()

parse_args(array  $args)

Parameters

array $args

parse_columns()

parse_columns(array<mixed,string>  $columns)

Validate and parse the columns and headings to use in posts table.

Parameters

array<mixed,string> $columns

A columns array

parse_columns_arg()

parse_columns_arg(  $columns)

Parameters

$columns

parse_filters()

parse_filters(  $filters,  $columns)

Parameters

$filters
$columns

parse_filters_arg()

parse_filters_arg(  $filters,  $columns)

Parameters

$filters
$columns

set_image_column_width()

set_image_column_width()

array_filter_validate_boolean()

array_filter_validate_boolean(  $var)

Parameters

$var