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_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....

本文标签: theme developmentsanitizeoptionoption filter returns null