MC4WP_Admin::renew_lists_cache PHP Method

renew_lists_cache() public method

Renew MailChimp lists cache
public renew_lists_cache ( )
    public function renew_lists_cache()
    {
        // try getting new lists to fill cache again
        $lists = $this->mailchimp->fetch_lists();
        if (!empty($lists)) {
            $this->messages->flash(__('Success! The cached configuration for your MailChimp lists has been renewed.', 'mailchimp-for-wp'));
        }
    }