Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/mailchimp-for-wp/includes/admin/migrations/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/mailchimp-for-wp/includes/admin/migrations/3.1.6-woocommerce-position-prefix.php |
<?php
defined( 'ABSPATH' ) or exit;
$options = get_option( 'mc4wp_integrations', array() );
if ( ! empty( $options['woocommerce'] ) && ! empty( $options['woocommerce']['position'] ) ) {
$options['woocommerce']['position'] = sprintf( 'checkout_%s', $options['woocommerce']['position'] );
}
update_option( 'mc4wp_integrations', $options );