function t-shirt_size() { /** * Set up the options that people can choose from in the select field. */ $options = array( 'small' => __( 'Small', 'custom-namespace' ), 'medium' => __( 'Medium', 'custom-namespace' ), 'large' => __( 'Large', 'custom-namespace' ), 'xlarge' => __( 'XLarge', 'custom-namespace' ), 'xxlarge' => __( 'XXLarge', 'custom-namespace' ), ); /** * Define a new select field. */ $field = new Charitable_Donation_Field( 'new_select_field', array( 'label' => __( 'T-shirt_size', 'custom-namespace' ), 'data_type' => 'user', 'donation_form' => array( 'type' => 'select', 'show_before' => 'phone', 'required' => false, 'options' => $options, ), 'admin_form' => true, 'show_in_meta' => true, 'show_in_export' => true, 'email_tag' => array( 'description' => __( 'Select a T-Shirt Size' , 'charitable' ), ), ) ); /** * Register the select field. */ charitable()->donation_fields()->register_field( $field ); } add_action( 'init', 't-shirt_size' );

2021 Annual Donations

Building voting villages around the country.
$679.00 donated
6 Donors

Your Donation
Details
Payment
Expiration *