Tests for the `bbp_*_forum_*()` template functions.
| group | forums |
|---|---|
| group | template |
| group | forum |
| package | bbPress |
| inherited_from | \BBP_UnitTestCase |
assertPreConditions()
clean_up_global_scope()
commit_transaction()
go_to($url)
grant_super_admin($user_id)
setUp()
setUpBeforeClass()
setUp_wp_mail($args)
set_current_user($user_id)
set_permalink_structure(string $structure = '')
| since | 2.6.0 bbPress (r5947) |
|---|---|
| global | WP_Rewrite $wp_rewrite |
stringOptional. Permalink structure to set. Default empty.
tearDown()
tearDown_wp_mail($args)
test_bbp_forum_get_subforums()
| covers | |
|---|---|
| todo | Implement test_bbp_forum_get_subforums(). |
test_bbp_get_forum()
| covers | |
|---|---|
| todo | Implement test_bbp_get_forum(). |
test_bbp_get_forum_ancestors()
| covers | |
|---|---|
| todo | Implement test_bbp_get_forum_ancestors(). |
test_bbp_get_forum_archive_title()
| covers | |
|---|---|
| covers | |
| todo | Implement test_bbp_forum_archive_title(). |
| todo | Implement test_bbp_get_forum_archive_title(). |
test_bbp_get_forum_class()
| covers | |
|---|---|
| covers | |
| todo | Implement test_bbp_get_forum_class(). |
test_bbp_get_forum_content()
| covers | |
|---|---|
| covers |
test_bbp_get_forum_freshness_link()
| covers | |
|---|---|
| covers |
test_bbp_get_forum_freshness_link_with_unpublished_replies()
| covers |
|---|
test_bbp_get_forum_id()
| covers | |
|---|---|
| covers |
test_bbp_get_forum_parent_id()
| covers | |
|---|---|
| covers |
test_bbp_get_forum_permalink()
| covers | |
|---|---|
| covers |
test_bbp_get_forum_subscription_link()
| covers | |
|---|---|
| covers | |
| todo | Implement test_bbp_get_forum_subscription_link(). |
test_bbp_get_forum_title()
| covers | |
|---|---|
| covers |
test_bbp_get_forum_topics_link()
| covers | |
|---|---|
| covers | |
| todo | Implement test_bbp_get_forum_topics_link(). |
test_bbp_get_single_forum_description()
| covers | |
|---|---|
| covers |
test_bbp_list_forums()
| covers | |
|---|---|
| todo | Implement test_bbp_list_forums(). |
$cached_SERVER_NAME
null