PHP 8.2.31
Preview: bootstrap.php Size: 2.01 KB
/home/nshryvcy/taramarriagebureau.com/wp-content/plugins/mailchimp-for-wp/integrations/bootstrap.php

<?php

/**
 * Try to include a file before each integration's settings page
 *
 * @param MC4WP_Integration $integration
 * @param array $opts
 * @ignore
 */
function mc4wp_admin_before_integration_settings(MC4WP_Integration $integration, $opts)
{
    $file = __DIR__ . '/' . $integration->slug . '/admin-before.php';
    if (file_exists($file)) {
        include $file;
    }
}

/**
 * Try to include a file before each integration's settings page
 *
 * @param MC4WP_Integration $integration
 * @param array $opts
 * @ignore
 */
function mc4wp_admin_after_integration_settings(MC4WP_Integration $integration, $opts)
{
    $file = __DIR__ . '/' . $integration->slug . '/admin-after.php';
    if (file_exists($file)) {
        include $file;
    }
}

add_action('mc4wp_admin_before_integration_settings', 'mc4wp_admin_before_integration_settings', 30, 2);
add_action('mc4wp_admin_after_integration_settings', 'mc4wp_admin_after_integration_settings', 30, 2);

// Register core integrations
mc4wp_register_integration('wp-comment-form', 'MC4WP_Comment_Form_Integration');
mc4wp_register_integration('wp-registration-form', 'MC4WP_Registration_Form_Integration');
mc4wp_register_integration('buddypress', 'MC4WP_BuddyPress_Integration');
mc4wp_register_integration('easy-digital-downloads', 'MC4WP_Easy_Digital_Downloads_Integration');
mc4wp_register_integration('contact-form-7', 'MC4WP_Contact_Form_7_Integration', true);
mc4wp_register_integration('events-manager', 'MC4WP_Events_Manager_Integration');
mc4wp_register_integration('memberpress', 'MC4WP_MemberPress_Integration');
mc4wp_register_integration('affiliatewp', 'MC4WP_AffiliateWP_Integration');
mc4wp_register_integration('give', 'MC4WP_Give_Integration');
mc4wp_register_integration('custom', 'MC4WP_Custom_Integration', true);
mc4wp_register_integration('woocommerce', 'MC4WP_WooCommerce_Integration');

require __DIR__ . '/prosopo-procaptcha/bootstrap.php';
require __DIR__ . '/wpforms/bootstrap.php';
require __DIR__ . '/gravity-forms/bootstrap.php';
require __DIR__ . '/ninja-forms/bootstrap.php';

Directory Contents

Dirs: 15 × Files: 1

Name Size Perms Modified Actions
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
- drwxr-xr-x 2025-04-30 03:17:26
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
custom DIR
- drwxr-xr-x 2025-04-30 03:17:26
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
give DIR
- drwxr-xr-x 2025-04-30 03:17:26
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
- drwxr-xr-x 2025-04-30 03:17:27
Edit Download
wpforms DIR
- drwxr-xr-x 2025-04-30 03:17:26
Edit Download
2.01 KB lrw-r--r-- 2025-04-30 03:17:27
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).