This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Array Form Element | |
* Description: a demonstration of the basic technique for creating a custom form element in Participants Database | |
* | |
*/ | |
add_filter( 'pdb-set_form_element_types', 'my_array_register_element' ); | |
add_action( 'pdb-form_element_build_array','my_array_element_building_function' ); | |
add_filter( 'pdb-before_display_form_element','my_array_element_value_display_function', 10, 2 ); |