How to find the List Screen ID and Table ID

The "List Screen ID" and "Table ID" can be found by clicking the three dots in the top-right corner and selecting "Column Info".

This show you the "Table ID and ListScreen ID" and the "Column Type an Name":


What is the List Screen ID

The `ID` is a unique identifier that is assigned when the List Screen has been stored in the database. e.g. 5eeca96a61826   .

The method AC\ListScreen::get_id()    will return the ListScreen ID.


What is the Table ID

The `Table ID` is a hard-coded identifier for the type of list table.

The method AC\ListScreen::get_table_id()    will return the Table ID.

The method AC\ListScreen::get_table_screen()    will return the TableScreen object.

List Table Table ID Class
Posts post   AC\TableScreen\Post
Pages page   AC\TableScreen\Post
Custom Post Type post_type_name   AC\TableScreen\Post
Users wp-users   AC\TableScreen\User
Media wp-media   AC\TableScreen\Media
Comments wp-comments   AC\TableScreen\Comment
Categories wp-taxonomy_category   ACP\TableScreen\Taxonomy
Tags wp-taxonomy_post_tag   ACP\TableScreen\Taxonomy
Custom Taxonomy wp-taxonomy_taxonomyname   ACP\TableScreen\Taxonomy
Network Users wp-ms_users   ACP\TableScreen\NetworkUser

The $list_screen_id    or $table_id    is useful when you are using our actions and filters and you need to target a specific ListScreen or TableScreen object.


Database

The List Screen ID list_id   and Table ID list_key   stored in the `wp_admin_columns` database table with their Title, Columns and Settings.

Still need help? Contact Us Contact Us