Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 shortcode for adding in admin end in email settings of event espresso | Event Espresso - Staging Server
I want to display Total Amount Paid to Date: ( A$ ) in email template after payment done.
I saw that in email settings it uses [event_price] shortcode to display the price, but I also tried the one with [EVENT_PRICE event_id=1 number=0] , but it does not worked for me , I changed number=0 to 1 but nothing happened. Even if I directly add it to the email settings it appears as it is . So please do let me know shortcode to be added on admin section to get total amount paid.
It turns out that there isn’t an amount paid email shortcode included in Event Espresso core. There is a way to add one and Dean wrote up some ready made code in a gist:
This code is a replacement for the replace_shortcode function in email.php and creates two new shortcodes, [amount_paid] and [amount_owed] which can be used in emails.
Note that modifying core files like this isn’t generally recommended, so please back up your files first, and note that updates to the plugin will over write the code.
Viewing 1 reply thread
The support post ‘shortcode for adding in admin end in email settings of event espresso’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.