常用函数-wp_new_comment()
说明
在数据库中添加新评论。
将新评论进行过滤,确保在数据库中插入新评论前,字段都已经被审查并处于可用状态。用评论编号、以及评论是否被WordPress许可调用...
常用函数-wp_set_comment_status()
2009-04-14
常用函数-wp_set_comment_status()
说明
设置评论的状态。
评论被操作后调用'wp_set_comment_status'动作,且只在评论状态是'hold'...
应该多久换一次WordPress主题?
2009-04-14
Chester问到:
我应该多久更换一次我的WordPress博客主题?
次数越少越好!
事实上,这样问可能更为恰当: “我多久能够更换一次WordPress主题?”
...
WordPress 2.8 Widget 选项页面抢先预览
2009-04-14
WordPress SVN 中的最新版本已经有Widget选项页了,页面上有“This page is not 100% ready, please use only on test installations.&rdqu...
Brushed Panther
2009-04-13
...
MilkTiger
2009-04-13
...
Mac Leapord
2009-04-13
...
常用函数-wp_delete_comment()
2009-04-13
常用函数-wp_delete_comment()
说明
删除评论编号,之后可能更新文章评论总数。
如果评论被许可并具有相应可用的文章编号,文章评论总数将被更新。
用法
<?php ...
常用函数-wp_get_comment_status()
2009-04-13
常用函数-wp_get_comment_status()
说明
根据编号检索评论的状态
用法
<?php wp_get_comment_status( $comment_id&...
常用函数-wp_get_current_commenter()
2009-04-13
常用函数-wp_get_current_commenter()
说明
获取当前评论者的姓名、电子邮件和URL。
希望cookies内容已经被过滤。该函数的使用者可能希望重新检查返回的数组。
用法
...
常用函数-wp_insert_comment()
2009-04-13
常用函数-wp_insert_comment()
说明
在数据库中插入评论。
有效的$commetdata关键字名称包括 'comment_author_IP', 'comment_da...
常用函数-get_lastcommentmodified()
2009-04-13
常用函数-get_lastcommentmodified()
说明
最近一次评论修改日期。设置$cache_lastcommentmodified参数后,该函数可从缓存中返回值而不必进入数据库。
用法
...