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://blog.csdn.net/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);
}