Action hook wpda_before_simple_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.


function myform_elements( $self ) {
	// Add you HTML and JavaScript here...
add_action( 'wpda_before_simple_form', 'myform_elements', 10, 1 );

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.