Timeline for Wordpress get_option() on AJAX issue
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 22, 2019 at 11:53 | review | Suggested edits | |||
Apr 22, 2019 at 13:05 | |||||
Jan 22, 2015 at 12:58 | comment | added | David Gard | Good work, thanks for posting your answer for others. | |
Jan 22, 2015 at 12:34 | comment | added | Richard | Yes, that's correct. But I've solved the issue now. See my answer below. | |
Jan 22, 2015 at 12:34 | answer | added | Richard | timeline score: 1 | |
Jan 22, 2015 at 12:29 | comment | added | David Gard |
Thanks. To confirm, you are adding die($currency_pos) directly below the line $currency_pos = get_option('woocommerce_currency_pos'); and it is returning left ?
|
|
Jan 22, 2015 at 12:12 | comment | added | Richard | Updated the question with the full function that is called. | |
Jan 22, 2015 at 12:12 | history | edited | Richard | CC BY-SA 3.0 |
added 832 characters in body
|
Jan 22, 2015 at 11:50 | comment | added | David Gard |
Is the code sample you provided wrapped in any kind of conditional statement (such as if )? There may be a default value somewhere that is being set and the code above could be ignored - but that's just a guess without more code.
|
|
Jan 22, 2015 at 10:54 | history | asked | Richard | CC BY-SA 3.0 |