View Categories

wpda_wpdataaccess_prepare

Filter wpda_wpdataaccess_prepare allows developers to add their own html and javascript code to a Data Table.

function my_publication_logic( $html, $schema_name, $table_name, $pub_id, $columns, $table_settings ) {
	// Your code goes here...
}
add_filter( 'wpda_wpdataaccess_prepare', 'my_publication_logic', 10, 6 );

Parameters #

$html

HTML code (may include JavaScript code)

$schema_name

Database schema name (database name)

$table_name

Database table name

$pub_id

ID

$columns

Table columns

$table_settings

Table settings as defined in the Data Explorer