Atitit.一个cms有多少少扩展点,多少api wordpress cms有多少api。。扩展点
Atitit.一个cms有多少少扩展点,多少api wordpress cms有多少api。。扩展点
2.1. Filter分类(total 447 apis)3
1. Api分类 WordPress APIs
· HTTP API
· XML-RPC WordPress API (supersedes the legacy Blogger, MovableType, and metaWeblog APIs)
作者:: 老哇的爪子 Attilax 艾龙, EMAIL:1466519819@qq.com
转载请注明来源: http://www.cnblogs.com/attilax/
1.1. 1 函数分类
o 1.5 评论,通知和引用(Ping,Trackback)
o 1.6 动作(Action),过滤器(Filter)和插件
o 1.7 主题相关
o 1.10 类
1.2. 函数api详单(约500个api)
http://codex.wordpress.org/zh-cn:%E5%87%BD%E6%95%B0%E5%8F%82%E8%80%83
2. 扩展点overview
http://codex.wordpress.org/Plugin_API/Action_Reference
http://codex.wordpress.org/Plugin_API/Filter_Reference
2.1. Filter分类(total 447 apis)
· 1 Post, Page, and Attachment (Upload) Filters
· 2 Comment, Trackback, and Ping Filters
· 8 Blog Information and Option Filters
· 13 Registration & Login Filters
· 17 Advanced WordPress Filters
2.2. Action分类 ( 317 apis )
· 1 Actions Run During a Typical Request
· 2 Actions Run During an Admin Page Request
· 3 Post, Page, Attachment, and Category Actions (Admin)
· 4 Comment, Ping, and Trackback Actions
o 8.1 Dashboard "Right Now" Widget Actions
3. 统计api的程序
public class ApiConter {
public static void main(String[] args) {
System.out.println("--start");
int i = 0;
String s = "C:\\Users\\Administrator\\newp820.txt";
List<String> li = filex.read2list_filtEmptyNstartSpace(s);
for (String line : li) {
System.out.println(" "+line);
if(line.length()<30)
{
i++;
System.out.println("___"+line);
continue;
}
try {
line = line.substring(0, 25);
} catch (StringIndexOutOfBoundsException e) {
}
if (line.contains("_") )
{
i++;
System.out.println("___"+line);
}
}
System.out.println(li.size());
System.out.println(i);
}