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

Action hook (wpda_before_simple_form) to add custom elements before a data entry form

Use action hook wpda_before_simple_form to add HTML and JavaScript before a data entry form. Argument $self contains a reference to your simple form instance, which allows you to interact with your data entry form through public members and methods. Usage

Generate API documentation

Generate API Documentation Start the command line interface Navigate to the plugin root folder Enter the following commands: composer require −−dev phpdocumentor/phpdocumentor dev-master php vendor/phpdocumentor/phpdocumentor/bin/phpdoc.php Navigate to subfolder docs Open file index.html in your favourite browser Remove API Documentation Start the command line interface Navigate to the plugin root folder Enter the following command: composer […]

Filter (wpda_wpdataaccess_prepare) to add custom options to a publication

Filter wpda_wpdataaccess_prepare allows developers to add their own jQuery DataTable options to a publication. This code is used to initialize a publication. More information about jQuery DataTables options… $html HTML code (may include JavaScript code) $schema_name Database schema name (database name) $table_name Database table name $pub_id Publication ID $columns Table columns $table_settings Table settings as […]

Action hooks to add search actions and filters

Two action hooks were added to enhance searching: wpda_add_search_actions and wpda_add_search_filter. Use these actions to customize the search box of your list table. These action hooks apply to WordPress list tables only. They do not affect publications. Action hook wpda_add_search_actions Added to allow developers to add actions to the search bar (e.g. an icon). Action […]

Action hook (wpda_after_list_table) to add custom elements to after a list table

Use action hook wpda_after_list_table to add 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. Usage Note You can use this action hook in combination with filter wpda_column_default to add interactive elements to […]

Filter (wpda_column_default) to influence column layout in list table

A filter named wpda_column_default was added to influence the layout of list table columns. The filter is not called on the first column to prevent links not being displayed correctly. Example Note You can use this filter in combination with action hook wpda_after_list_table to add interactive elements to your list tables. Function declaration wpda_column_default( $item, […]

Action hook (wpda_after_simple_form) to add custom elements after a data entry form

Use action hook wpda_after_simple_form to add HTML and JavaScript after a data entry form. Argument $self contains a reference to your simple form instance, which allows you to interact with your data entry form through public members and methods. Usage