I have added custom setting options page under WordPress settings and those are working perfectly. I have tested their values also. But when I am using those values inside function file within add_action init hook to perform something on form submission, those values are returning as null. Everything is working except those values return as null. A few examples will really help me! Thanks in advance :)
Custom setting field value not working inside add_action init hook
Rituparna sonowal
- 408
- 2
- 10