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' );
Did the 2020 election drive you to drink? Celebrate the holiday season with a traditional egg nog (in a to-go pouch) with a twist! Now with more moral courage to do the right thing for democracy just like Chris Krebs. Secure yours today in appreciation of the most secure election ever! Orders will be for pick-up up at Capo Italian Delivery in Washington, DC- we’ll notify you when they’re available.
$600.00 donated
9 Donors

Your Donation
Details
Payment
Expiration *