/** * Gets the (only) instance of the plugin. * * @return self The (only) instance of the class. */ public static function get_instance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }