/** * The Plugin object can be created/obtained via this * method - this prevents unnecessary work in rebuilding the object and * querying to construct a list of categories, etc. * * @return object $instance Plugin */ public static function instance() { if (false === self::$instance) { self::$instance = new self(); } return self::$instance; }