Call to undefined function get_cache_data()
在新闻发布中的钩子函数中,调用get_cache_data或者设置
set_cache_data
$this->set_cache_data
来设置缓存,都是报Call to undefined function get_cache_data()
有人知道在钩子中怎么调用设置缓存和调用缓存呢。在自定义的控制器中是没问题的。


在新闻发布中的钩子函数中,调用get_cache_data或者设置
set_cache_data
$this->set_cache_data
来设置缓存,都是报Call to undefined function get_cache_data()
有人知道在钩子中怎么调用设置缓存和调用缓存呢。在自定义的控制器中是没问题的。



