Problem with capitalization
-
I was struggling to read a postmeta of some orders to use in an if condition… The condition wasn’t firing even though the postmeta was there… Finally, I ended up going into PHPMyAdmin to see what’s going on, and the meta_key in the DB had different capitalization than the one shown in the plugin’s metabox…
https://prnt.sc/C6pJJbo4d7cd <- postmeta as shown in wp-admin
https://prnt.sc/VjIXgwVrUeH0 <- postmeta as shown in the DB
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problem with capitalization’ is closed to new replies.