Version Description
- Added "Settings" link on the Plugins administration screen
Download this release
Release Info
Developer | anderly |
Plugin | WooCommerce MailChimp |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.0.1
- README.md +4 -1
- readme.txt +4 -1
- woocommerce-mailchimp.php +13 -2
README.md
CHANGED
@@ -3,7 +3,7 @@ Contributors: anderly
|
|
3 |
Tags: woocommerce, mailchimp
|
4 |
Requires at least: 3.6
|
5 |
Tested up to: 3.6.1
|
6 |
-
Stable tag: 1.0
|
7 |
License: GPLv3
|
8 |
|
9 |
Simple MailChimp integration for WooCommerce.
|
@@ -67,5 +67,8 @@ Thanks in advance for your help on any translation efforts!
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
70 |
= 1.0 =
|
71 |
* This is the first public release.
|
3 |
Tags: woocommerce, mailchimp
|
4 |
Requires at least: 3.6
|
5 |
Tested up to: 3.6.1
|
6 |
+
Stable tag: 1.0.1
|
7 |
License: GPLv3
|
8 |
|
9 |
Simple MailChimp integration for WooCommerce.
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 1.0.1 =
|
71 |
+
* Added "Settings" link on the Plugins administration screen
|
72 |
+
|
73 |
= 1.0 =
|
74 |
* This is the first public release.
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: anderly
|
|
3 |
Tags: woocommerce, mailchimp
|
4 |
Requires at least: 3.6
|
5 |
Tested up to: 3.6.1
|
6 |
-
Stable tag: 1.0
|
7 |
License: GPLv3
|
8 |
|
9 |
Simple MailChimp integration for WooCommerce.
|
@@ -67,5 +67,8 @@ Thanks in advance for your help on any translation efforts!
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
70 |
= 1.0 =
|
71 |
* This is the first public release.
|
3 |
Tags: woocommerce, mailchimp
|
4 |
Requires at least: 3.6
|
5 |
Tested up to: 3.6.1
|
6 |
+
Stable tag: 1.0.1
|
7 |
License: GPLv3
|
8 |
|
9 |
Simple MailChimp integration for WooCommerce.
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 1.0.1 =
|
71 |
+
* Added "Settings" link on the Plugins administration screen
|
72 |
+
|
73 |
= 1.0 =
|
74 |
* This is the first public release.
|
woocommerce-mailchimp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WooCommerce MailChimp
|
4 |
Plugin URI: http://anderly.com/woocommerce-mailchimp
|
5 |
Description: WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.
|
6 |
-
Version: 1.0
|
7 |
Author: Adam Anderly
|
8 |
Author URI: http://anderly.com
|
9 |
|
@@ -29,9 +29,20 @@ function woocommerce_mailchimp_init() {
|
|
29 |
* Add the Integration to WooCommerce
|
30 |
**/
|
31 |
function add_mailchimp_integration($methods) {
|
32 |
-
|
33 |
return $methods;
|
34 |
}
|
35 |
|
36 |
add_filter('woocommerce_integrations', 'add_mailchimp_integration' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
3 |
Plugin Name: WooCommerce MailChimp
|
4 |
Plugin URI: http://anderly.com/woocommerce-mailchimp
|
5 |
Description: WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.
|
6 |
+
Version: 1.0.1
|
7 |
Author: Adam Anderly
|
8 |
Author URI: http://anderly.com
|
9 |
|
29 |
* Add the Integration to WooCommerce
|
30 |
**/
|
31 |
function add_mailchimp_integration($methods) {
|
32 |
+
$methods[] = 'SS_WC_Integration_MailChimp';
|
33 |
return $methods;
|
34 |
}
|
35 |
|
36 |
add_filter('woocommerce_integrations', 'add_mailchimp_integration' );
|
37 |
+
|
38 |
+
function action_links( $links ) {
|
39 |
+
|
40 |
+
$plugin_links = array(
|
41 |
+
'<a href="' . admin_url( 'admin.php?page=woocommerce_settings&tab=integration§ion=mailchimp' ) . '">' . __( 'Settings', 'ss_wc_mailchimp' ) . '</a>',
|
42 |
+
);
|
43 |
+
|
44 |
+
return array_merge( $plugin_links, $links );
|
45 |
+
}
|
46 |
+
// Add the "Settings" links on the Plugins administration screen
|
47 |
+
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'action_links' );
|
48 |
}
|