Question
I have 2 pages that are identical in my dev and production environments (http://wordpress-310389-952347.cloudwaysapps.com/2020/08/17/benelinx-qa/ and https://www.benelinx.com/2020/08/17/benelinx-qa/ respectively). If you inspect the page, you'll see that the values of the class attributes in the body tags are different between ...
0
, 2 months 0 Answers 40 views

Question
I'd like to share a variable between two add_actions. Currently I'm trying to use a global. However it doesn't work. This simple example below illustrates the problem. In this example, test_before_send_mail() runs before test_get_form_post_callback(). $test = '123'; add_action('wpcf7_before_send_mail', 'test_before_send_mail'); function test_before_send_mail() { ...
0
, , 2 months 0 Answers 36 views