2009-12-13 71 views
1

但是,我正在使用WordPress中的WPDB類拉取一些數據 - 數據正在作爲原始數據檢索,沒有任何標記。

如何自動添加此標記?

回答

0

得到它在wp-includes/formatting.php

2

:)

$text = apply___filters('the_content', $text);

見參考文獻應該是$text = apply_filters('the_content', $text); - 一個下劃線。