Way to use methods of plugins in themes

Thinking about using one or more methods of a plugin in a theme? This post is going to help you then. One good way is to use static class methods in plugins, and optionally write functions as an alias: in Plugin: class Pluginslug_Foo { static $foo = 'Bar!'; public static function bar() { return self::$foo; [...]