axellerater
Forum Replies Created
-
Forum: Plugins
In reply to: [EU/UK VAT Validation Manager for WooCommerce] WordPress Fatal Error@ricardoherrerocedex , I have temporarly fixed this issue by rolling back to version 2.11.5, until we get a permanent fix. That version is not that old, it’s from 18/06.
Update: We rolled back to 2.11.5 and the issue is no more. 2.11.6 from 25/06 is the first version to have this error.
Update: I have currently rolled back to 2.11.7 to test if we are still encountering this issue, as we need the website functional.
Forum: Plugins
In reply to: [Contact Form 7] p tag in mail since 5.7.7, despite WPCF7_AUTOP, falseHey!
My issue was that I did not want it to affect the HTML body of the sent emails and it was doing it in 5.8.
It seems like your issue has been fixed in 5.8 but I had no idea it was intended to also affect the HTML body since it didn’t in 5.7.7.
My solution to NOT affect the HTML body without changing the plugin itself. I am using the filter conditionally in functions.php.function disable_wpcf7_autop_for_display() { // Only add the filter if we're not in the middle of sending the mail if (!doing_action('wpcf7_before_send_mail')) { add_filter('wpcf7_autop_or_not', '__return_false'); //Remove p and br tags in forms } } add_action('template_redirect', 'disable_wpcf7_autop_for_display');
I wasn’t sure how this will behave with concurrent users and I have tested it to a degree and it seems to not interfere with or be affected by concurrent users.
- This reply was modified 1 year, 7 months ago by axellerater.
Hey David. In my initial message, I already explained that I do not need help with that part. I am achieving it by using product_post_meta=_download_expiry.
What I need is to use that value in some kind of computed field.
[wcj_invoice_date days=”product_post_meta=_download_expiry”] or something like that. Is that possible?For example, an item has a download expiry value of 10 days. If I want to display the day it will expire rather than the number of days at the item table level, I would take the day of the invoice and add those 10 days to it.
I don’t want to display the field but the computed day of expiry based on it.- This reply was modified 1 year, 10 months ago by axellerater.
Hey! Any insight on achieving this?