set_theme() static public method

static public set_theme ( WPLib_Theme_Base $theme )
$theme WPLib_Theme_Base
Esempio n. 1
0
 /**
  * Theme method for setting a theme instance for unit test mocking.
  *
  * @param $theme
  *
  * @return mixed
  */
 static function set_mock_theme($theme)
 {
     WPLib::set_theme($theme);
 }