static public set_theme ( WPLib_Theme_Base $theme ) | ||
$theme | WPLib_Theme_Base |
static function set_theme($theme)
{
self::$_theme = $theme;
}
/** * 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); }