/** * Function to instantiate our class and make it a singleton */ public static function get_instance() { if ( ! self::$instance ) { self::$instance = new self; } return self::$instance; }