/** * Grab instance of object. * @return SolrPower_WP_Query */ public static function get_instance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }
/** * Grab instance of object. * @return SolrPower_WP_Query */ public static function get_instance() { if (!self::$instance) { self::$instance = new self(); add_action('init', array(self::$instance, 'setup')); } return self::$instance; }