Template Functions

ac_get_list_screen( $id )

Returns a AC\ListScreen object which holds all information about the list table and its stored columns.

Parameters

Name Type Required Description
$id string Required The list screen Id

Return

Returns  AC\ListScreen object.

Usage

Always use ac_get_list_screen() within or after the wp_loaded hook.


ac_get_list_screens( $key )

Returns AC\ListScreen[] objects which hold all information about the list table and its columns.

Parameters

Name Type Required Description
$key string Required The list screen Key

Return

Returns  AC\ListScreen[] objects.

Usage

Always use ac_get_list_screens() within or after the wp_loaded hook.


ac_get_column( $column_name, $list_screen_id )

Returns AC\Column object which holds column data.

Parameters

Name Type Required Description
$column_name string Required The column name
$list_screen_id string Required The list screen ID

Return

Returns AC\Column object.

Usage

Always use ac_get_column() within or after the wp_loaded hook.


ac_get_columns( $list_screen_id )

Returns AC\Column[] objects for a particular list screen.

Parameters

Name Type Required Description
$list_screen_id string Required The list screen ID

Return

Returns AC\Column[] objects.

Usage

Always use ac_get_columns() within or after the wp_loaded hook.


Still need help? Contact Us Contact Us