Tests for the `bbp_*_form_topic_post_type_*()` functions.
| group | topics |
|---|---|
| group | template |
| group | post_type |
| 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_get_topic_post_type_labels()
| covers | |
|---|---|
| todo | Implement test_bbp_get_topic_post_type_labels(). |
test_bbp_get_topic_post_type_rewrite()
| covers | |
|---|---|
| todo | Implement test_bbp_get_topic_post_type_rewrite(). |
test_bbp_get_topic_post_type_supports()
| covers | |
|---|---|
| todo | Implement test_bbp_get_topic_post_type_supports(). |
test_bbp_topic_post_type()
| covers | |
|---|---|
| covers |
$cached_SERVER_NAME
null