开发者 | sambauers |
---|---|
更新时间 | 2008年12月14日 20:05 |
PHP版本: | 2.6.2 及以上 |
WordPress版本: | 2.6.2 |
bbpress_live_get_forums()
- Provides an array of forumsbbpress_live_get_topics()
- Provides an array of the latest topicsbbpress-live.php
to your plugins directoryThe parameters are as follows:
$parent
integer|string The parent forum id or slug whose child forums are to be fetched. Default "0" means start at the root.$depth
integer The depth to which child forums of the parent forum will be fetched. Default "0" means no limit.The parameters are as follows:
$forum
integer|string The forum id or slug whose child topics are to be fetched. Default "0" means get all forums.$page
integer The the page number to fetch. Default is "1".$number
integer The number of forums per page. Default "0" means use bbPress' default number per page.