set_theme() static public méthode

static public set_theme ( WPLib_Theme_Base $theme )
$theme WPLib_Theme_Base
Exemple #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);
 }