Ajaxize
Ajaxize
will allow you to ajaxize almost any php function on your site.
将使您可以将网站上几乎所有的php函数都进行ajax处理。
It can be a plugin, a function you wrote, or even a core wordpress function.
它可以是插件,您编写的功能,甚至可以是核心的wordpress功能。 p>
1.4 : Removed deprecated split function
1.4:删除了不建议使用的拆分功能
Added an option to remove Ajax referer protection (not recommended, but helpful in some rare cases)
添加了删除Ajax引用保护的选项(不推荐使用,但在极少数情况下很有用)
Tested for compatibility with WordPress 4.x
经过测试与WordPress 4.x的兼容性 p>
1.3 : Updated to work within 404 templates (thanks to ovidiubica for reporting)
1.3:已更新,可在404模板中使用(感谢ovidiubica报告) p>
1.2 : Small security improvements (added nonce to the javascript) and tested with WordPress 3.2.1
1.2:进行了较小的安全性改进(向javascript中添加了nonce)并通过WordPress 3.2.1进行了测试 p>
New in 1.1: Context Awareness.
1.1中的新增功能:上下文意识。
Ajaxize is now setting the correct context for functions automatically.
现在,Ajaxize会自动为函数设置正确的上下文。
Special thanks to One Trick Pony for helping set the hook in the right place.
特别感谢一个把戏小马帮助将钩子设置在正确的位置。 p>