package | GlotPress |
---|---|
inherited_from | \GP_UnitTestCase |
clean_up_global_scope()
setUp()
set_admin_user_as_current()
set_normal_user_as_current()
set_permalink_structure(string $structure = ''
)
Also updates the pre_option filter for permalink_structure
.
global | WP_Rewrite $wp_rewrite |
---|
string
Optional. Permalink structure to set. Default empty.
test_branching_originals()
test_branching_paths()
test_branching_translation_sets()
test_by_path()
test_by_path_with_dots()
test_by_path_with_utf8mb4()
test_copy_originals_from()
test_create_and_select()
test_delete()
test_empty_name()
test_empty_slug()
test_gp_locale_glossary_path_prefix_filter()
test_path_to_root()
test_previous_state_is_passed_to_saved_action()
test_regenerate_paths()
test_reload()
test_save_no_args()
test_set_difference_from_difference()
test_set_difference_from_same()
test_sets_in_copy_sets_and_translations_from()
test_translations_in_copy_sets_and_translations_from()
test_update_path()
test_valid_path_on_create()
$factory : \GP_UnitTest_Factory
$url : string
'http://example.org/'