PHP Snippet add to function
-
I am using the following code snippet to change labels on a plugin for group purchases. We have an issue with the labels running on to 2 lines and would like a line break.
See https://www.public-montessori.org/product/coaches-training-spring-2023/
We’d like the checkbox and ‘Multiple purchases, or purchases for other(s)’ on a second line. (CSS doesn’t work).Below is the code snippet. How can I add a break to this to put the second option on another line? Thank you for any help.
add_filter( 'wdm_gr_single_label', function(){ // @todo Change the text to your individual label return __( 'Individual purchase for me', 'wdm_ld_group'); }); add_filter( 'wdm_gr_group_label', function(){ // @todo Change the text to your individual label return __( 'Multiple purchases, or purchases for other(s)', 'wdm_ld_group'); });
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Snippet add to function’ is closed to new replies.