Action hook (wpda_before_list_table) to add custom elements to before a list table

Use action hook wpda_before_list_table to add 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.

Usage

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

Peter Schulz is a lecturer in information technology at the HAN university of applied sciences. He is an experienced programmer with more than 25 years experience in Oracle databases and tools. Peter is the developer of WordPress plugin WP Data Access.

Leave a Reply

Your email address will not be published. Required fields are marked *