最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

theme development - sanitize_option_{$option} filter returns null

programmeradmin2浏览0评论

I have a problem that theme options is not updating, so after tracking down the problem i have reached to the sanitize_option_{$option} filter, so before applying the filter i var_dumped the $value then die so i can see the result and the result was as expected (an array of newly updated options) but once the filter applies the result is null, i don't know why?

To be noted that i have WPML active, and also i have a custom plugin which implements the same options' class applied to the theme but strangely the plugin is updating but not the theme....

发布评论

评论列表(0)

  1. 暂无评论