---
title: wpda_add_search_actions
description: "Add actions to the search bar (e.g. an icon). This action hooks applies to WordPress list tables only. They do not affect publications or Data Forms. The action works both on the back-end and front-end. ``` public function my_add_search_actions( $schema_name,…"
url: "https://docs.legacy.wpdataaccess.com/docs/wpda_add_search_actions/"
updated: "2025-11-19"
category: "Legacy Tools / Code / Hooks & Filters / Hooks"
---

# wpda_add_search_actions

Add actions to the search bar (e.g. an icon). This action hooks applies to WordPress list tables only. They do not affect publications or Data Forms. The action works both on the back-end and front-end.

```
public function my_add_search_actions( $schema_name, $table_name, $table_settings, $wpda_list_columns ) {
	// Your code goes here...
}
add_action( 'wpda_add_search_actions', 'my_add_search_actions', 10, 4 );
```

## Parameters

  **$schema_name**

Database schema name (datebase name)

**$table_name**

Database table name

**$table_settings**

Table settings as defined in the Data Explorer

**$wpda_list_columns**

Reference to column list (instance of class WPDA_List_Columns)
