---
title: wpda_before_list_table
description: "Use action hook **wpda_before_list_table** to add custom HTML and JavaScript before a list table. Argument $self contains a reference to your list table instance, which allows you to interact with your list table through public members and methods. ``` function…"
url: "https://docs.legacy.wpdataaccess.com/docs/wpda_before_list_table/"
updated: "2025-11-19"
category: "Legacy Tools / Code / Hooks & Filters / Hooks"
---

# wpda_before_list_table

Use action hook **wpda_before_list_table** to add custom HTML and JavaScript before a list table. Argument $self contains a reference to your list table instance, which allows you to interact with your list table through public members and methods.

```
function mylisttable_elements( $self ) {
	// Add you HTML and JavaScript here...
}
add_action( 'wpda_before_list_table', 'mylisttable_elements', 7 );
```
