/** * Returns and/or create the single instance of this class. * * @return Charitable_Admin_Notices * @access public * @since 1.4.6 */ public static function get_instance() { if (is_null(self::$instance)) { self::$instance = new Charitable_Admin_Notices(); } return self::$instance; }
/** * Returns the Charitable_Admin_Notices helper. * * @return Charitable_Admin_Notices * @since 1.4.6 */ function charitable_get_admin_notices() { return Charitable_Admin_Notices::get_instance(); }