Hooks

Posts under the "Hooks" category

Overview

Hooks to customize WordPress list tables on back-end and front-end: wpda_add_search_actions (add search actions to WordPress list table) wpda_add_search_filter (add search elements to WordPress list table) wpda_before_list_table (add custom code before a WordPress...

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.Parameters$schema_name Database schema name (datebase name)...

wpda_add_search_filter

Add custom HTML and JavaScript to the search bar. 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.Parameters$schema_name Database schema name (datebase name)...

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.

wpda_after_list_table

Use action hook wpda_after_list_table to add custom HTML and JavaScript after 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.NoteYou can use this...

wpda_wpdataaccess_prepare

Filter wpda_wpdataaccess_prepare allows developers to add their own html and javascript code to a Data Table.Parameters$html HTML code (may include JavaScript code) $schema_name Database schema name (database name) $table_name Database table name $pub_id ID $columns...