get_checklist_option( 'status' ); $charitable_checklist_classes = $charitable_checklist_class->get_steps_css(); $charitable_check_list_completed = $charitable_checklist_class->is_checklist_completed() ? 'charitable-checklist-completed' : ''; $charitable_checklist_urls = $charitable_checklist_class->get_steps_urls(); $charitable_checklist_stats = $charitable_checklist_class->get_steps_stats(); $charitable_onboarding_campaign_id = get_option( 'charitable_setup_campaign_created', 0 ); $charitable_onboarding_completed = $charitable_onboarding_campaign_id && get_option( 'charitable_ss_complete', false ) ? true : false; $charitable_email_signup = get_option( 'charitable_email_signup', false ); $charitable_opt_in_tracking = charitable_get_usage_tracking_setting(); $charitable_checklist_classes['optin'] = $charitable_opt_in_tracking ? 'charitable-checklist-completed charitable-checklist-checked' : ''; $charitable_tab_leave_open_campaign = $charitable_checklist_class->is_step_completed( 'first-campaign' ) ? false : true; $charitable_tab_leave_open_campaign = $charitable_onboarding_completed ? true : $charitable_tab_leave_open_campaign; if ( ! is_array( $charitable_checklist_stats ) || empty( $charitable_checklist_stats ) ) { $charitable_checklist_stats = [ 'completed' => 0, 'total' => 5, ]; } // check if class exists... if ( class_exists( 'Charitable_Gateway_Stripe_AM' ) ) { $charitable_stripe_gateway = new Charitable_Gateway_Stripe_AM(); $charitable_redirect_url = admin_url( 'admin.php?page=charitable-setup-checklist&step=continue' ); $charitable_stripe_connect_url = $charitable_stripe_gateway->get_stripe_connect_url( $charitable_redirect_url ); $charitable_stripe_connected = $charitable_stripe_gateway->maybe_stripe_connected(); $charitable_gateway_mode = ( charitable_get_option( 'test_mode' ) ) ? 'test' : 'live'; } else { $charitable_stripe_connect_url = ''; $charitable_stripe_connected = false; $charitable_gateway_mode = ''; } ob_start(); ?>
is_checklist_completed() ) : ?>

!

%1$s What\'s Next?', 'charitable' ), esc_html__( 'You\'ve completed the checklist!', 'charitable' ) ) ); ?>

!

%1$s View remaining steps below to improve your fundraising efforts.', 'charitable' ), esc_html__( 'Thanks for setting up Charitable! ', 'charitable' ) ); // phpcs:ignore ?>

%1$s Follow these steps to start fundraising quickly.', 'charitable' ), esc_html__( 'Thanks for installing Charitable! ', 'charitable' ) ); // phpcs:ignore ?>

is_step_completed( 'connect-gateway' ) ) : echo 'style="display:none;"'; endif; ?> >

%s %s.', esc_html__( 'Good news! You have connected to Stripe in', 'charitable' ), esc_html( $charitable_gateway_mode ), esc_html__( ' mode', 'charitable' ) ); ?>

Stripe not available in your country? Charitable works with payment gateways like PayPal, Authorize.net, Braintree, Payrexx, PayUMoney, GoCardless, and others. View additional payment options available with PRO extensions.', 'charitable' ), esc_url( admin_url( 'admin.php?page=charitable-addons' ) ) ) ); ?>

>

' . esc_html( $charitable_url ) . '' ); ?> ' . esc_html( $charitable_url ) . '' ); ?>

  • ' . esc_html__( 'our documentation', 'charitable' ) . '' ); ?>

is_step_completed( 'general-settings' ) ) : echo 'style="display:none;"'; endif; ?> >

is_step_completed( 'general-settings' ) ? 'charitable-button-primary' : 'charitable-button-primary alt'; ?>

is_step_completed( 'email-settings' ) ) : echo 'style="display:none;"'; endif; ?> >

is_step_completed( 'email-settings' ) ? 'charitable-button-primary' : 'charitable-button-primary alt'; ?>

>

is_step_completed( 'first-campaign' ) ? 'charitable-button-primary' : 'charitable-button-primary alt'; ?>
is_step_completed( 'next-level' ) ? 'charitable-button-primary' : 'charitable-button-primary alt'; ?>

is_step_completed( 'next-level' ) ) : ?>

is_step_completed( 'next-level' ) ) : echo 'style="display:none;"'; endif; ?> >

is_checklist_completed() ) : ?>