[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/tests/phpunit/lib/ -> testcase.php (summary)

(no description)

File Size: 70 lines (2 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

GP_UnitTestCase:: (5 methods):
  setUp()
  set_permalink_structure()
  clean_up_global_scope()
  set_normal_user_as_current()
  set_admin_user_as_current()


Class: GP_UnitTestCase  - X-Ref

setUp()   X-Ref


set_permalink_structure( $structure = '' )   X-Ref
Utility method that resets permalinks and flushes rewrites.

Also updates the pre_option filter for `permalink_structure`.

param: string $structure Optional. Permalink structure to set. Default empty.

clean_up_global_scope()   X-Ref
No description

set_normal_user_as_current()   X-Ref


set_admin_user_as_current()   X-Ref
No description



Generated: Sun Dec 22 01:01:04 2024 Cross-referenced by PHPXref 0.7.1