Change Address Field
-
I tried to use this code but its not changing address label. Any work around?
/* Get the State field. */
$field = charitable()->donation_fields()->get_field( ‘address’ );/* Change the label to Province. */
$field->set( ‘label’, ”, ‘Complete Address’ );/* Change the field to be required. */
$field->set( ‘donation_form’, ‘required’, true );Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Change Address Field’ is closed to new replies.