Method | Description | |
---|---|---|
_body_class ( array $classes ) : array | Adds any classes passed to $theme->set_body_class() to the classes that will be displayed in | |
_template_include_999 ( $template ) : null | Hijack template_include so that we can ensure a $theme variable is defined. | |
_wp_enqueue_scripts_0 ( ) | Creates a JS variable WPLib.ajaxurl | |
on_load ( ) | Sets hooks required by all themes. | |
set_mock_theme ( $theme ) : mixed | Theme method for setting a theme instance for unit test mocking. |
static public _body_class ( array $classes ) : array | ||
$classes | array | |
return | array |
static public _template_include_999 ( $template ) : null | ||
return | null |
static public _wp_enqueue_scripts_0 ( ) |
static public set_mock_theme ( $theme ) : mixed | ||
$theme | ||
return | mixed |