Hello,
I have deleted previous users from the WP database and unfortunately forgot to reset the auto-increment values, so now the first userid in the database is 2094. So when I use the [e2pdf-user] shortcut it displays 2094 which is correct. I would like to substract 2093 from all [e2pdf-user] IDs to properly display the user number. Unfortunately if I add [e2pdf-user]-2093 it will not work, and such displaying 2094-2093 instead of 1.
Please advise.
Kind regards,
Alex
9 March, 2022 03:46:27
E2Pdf
Support
Topics: 7
Messages: 3331
Hi,
E2Pdf pulls data directly from WordPress functionality and unfortunately E2Pdf currently doesn't support inline math operation. The best way will be to correct that data in database however as an alternative you can try to use PHP hook added to theme functions.php or as PHP Snippet:
You will also need to replace [e2pdf-user] to [e2pdf-user key="ID"] inside E2Pdf Template.
We use tools, such as cookies, to enable essential services and functionality on our site and to collect data on how visitors interact with our site, products and services. By accepting cookies you are agreeing to our Cookie Policy.