ZE-Company
Forum Replies Created
-
Hi
Thank you for your response.
If I understand well, I have to copy this function and adapt it replacing $_POST variable with an other passed in argument.
I tried it and it works. The thing is if you change the function later I will have to change mine also.
Am I correct ? I can’t call the plugin function directly ?
Hi,
So do you have any clue/advise to set settings for products through php ?
Has I said, without other information, I will probably try to update the post metas according to the current code (with the “fq” array) hoping it will not break anything.
Regards
I have a catalog build programmatically from a link with another software and I would like to enable the settings for the new unit of measurement for some of the products.
I think I am able to do an “update_post_meta” on “flexible_quantity_settings” but if you change the way you store infos it will break. And with this solution it maybe doesn’t fire all the hooks like your function fq_price_calculator_process_product_meta_measurement.
Forum: Plugins
In reply to: [WP Maintenance] Probléme avec adresses ip autoriséesFix temporaire :
Dans /wp-content/plugins/wp-maintenance/includes/functions.php
Modifier la fonction wpm_get_ip : enlever le “esc_url” qui ajoute “http://” devant l’adresse IP pour rien et qui casse la vérificationJe cherche pour régler le soucis des user_roles mais je n’arrive pas à le corriger