admin管理员组文章数量:1384317
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_dump
ed 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....
本文标签: theme developmentsanitizeoptionoption filter returns null
版权声明:本文标题:theme development - sanitize_option_{$option} filter returns null 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744484445a2608364.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论