AccessPress Twitter Feed – Twitter Feed for WordPress - Version 1.4.3

Version Description

  • Added aptf_feeds_template action under the templates choosing option
  • Added aptf_settings filter while saving the settings
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 AccessPress Twitter Feed – Twitter Feed for WordPress
Version 1.4.3
Comparing to
See all releases

Code changes from version 1.4.2 to 1.4.3

accesspress-twitter-feed.php CHANGED
@@ -4,7 +4,7 @@ defined('ABSPATH') or die('No script kiddies please!');
4
  * Plugin Name: AccessPress Twitter Feed
5
  * Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-twitter-feed/
6
  * Description: A plugin to show your twitter feed in your site with various configurable settings
7
- * Version: 1.4.2
8
  * Author: AccessPress Themes
9
  * Author URI: http://accesspressthemes.com
10
  * Text Domain: accesspress-twitter-feed
@@ -24,7 +24,7 @@ if (!defined('APTF_CSS_DIR')) {
24
  define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
25
  }
26
  if (!defined('APTF_VERSION')) {
27
- define('APTF_VERSION', '1.4.2');
28
  }
29
 
30
  if (!defined('APTF_TD')) {
4
  * Plugin Name: AccessPress Twitter Feed
5
  * Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-twitter-feed/
6
  * Description: A plugin to show your twitter feed in your site with various configurable settings
7
+ * Version: 1.4.3
8
  * Author: AccessPress Themes
9
  * Author URI: http://accesspressthemes.com
10
  * Text Domain: accesspress-twitter-feed
24
  define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
25
  }
26
  if (!defined('APTF_VERSION')) {
27
+ define('APTF_VERSION', '1.4.3');
28
  }
29
 
30
  if (!defined('APTF_TD')) {
inc/backend/boards/main-settings.php CHANGED
@@ -69,6 +69,18 @@
69
  <?php
70
  }
71
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
  </div>
74
  </div>
@@ -115,8 +127,6 @@
115
  <div class="aptf-option-note"><?php _e('Check if you want to disable the caching of tweets and always want to fetch new tweets.', 'accesspress-twitter-feed'); ?></div>
116
  </div>
117
  </div>
118
- <div class="aptf-option-wrapper">
119
- <label><?php ?></label>
120
- </div>
121
 
122
  </div>
69
  <?php
70
  }
71
  ?>
72
+ <?php
73
+ /**
74
+ * aptf_feeds_template action
75
+ *
76
+ * Action to extend feeds template
77
+ *
78
+ * @since 1.4.3
79
+ *
80
+ *
81
+ * */
82
+ do_action('aptf_feeds_template',$aptf_settings);
83
+ ?>
84
 
85
  </div>
86
  </div>
127
  <div class="aptf-option-note"><?php _e('Check if you want to disable the caching of tweets and always want to fetch new tweets.', 'accesspress-twitter-feed'); ?></div>
128
  </div>
129
  </div>
130
+
 
 
131
 
132
  </div>
inc/backend/save-settings.php CHANGED
@@ -35,6 +35,7 @@ $aptf_settings = array('consumer_key' => $consumer_key,
35
  'display_follow_button'=>isset($display_follow_button)?1:0,
36
  'disable_cache'=>isset($disable_cache)?1:0
37
  );
 
38
  update_option('aptf_settings', $aptf_settings);
39
  $_SESSION['aptf_msg'] = __('Settings Saved Successfully','accesspress-twitter-feed');
40
  wp_redirect(admin_url().'admin.php?page=ap-twitter-feed');
35
  'display_follow_button'=>isset($display_follow_button)?1:0,
36
  'disable_cache'=>isset($disable_cache)?1:0
37
  );
38
+ $aptf_settings = apply_filters('aptf_settings',$aptf_settings);
39
  update_option('aptf_settings', $aptf_settings);
40
  $_SESSION['aptf_msg'] = __('Settings Saved Successfully','accesspress-twitter-feed');
41
  wp_redirect(admin_url().'admin.php?page=ap-twitter-feed');
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Access Keys
3
  Tags: twitter, twitter feeds, twitter slider, twitter feeds slider, twitter plugin, twitter feed plugin, twitter tweets, tweets, twitter tweet plugin, recent tweets widget, recent tweets plugin, recent tweet feeds
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
- Tested up to: 4.4
7
- Stable tag: 1.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,6 +107,10 @@ Once you install the plugin , you can check some general documentation about how
107
 
108
 
109
  == Changelog ==
 
 
 
 
110
  = 1.4.2 =
111
  * Done the bug fixing for widget.
112
  * Done the fix in the plugin to work with proxy if configured in wp-config file.
3
  Tags: twitter, twitter feeds, twitter slider, twitter feeds slider, twitter plugin, twitter feed plugin, twitter tweets, tweets, twitter tweet plugin, recent tweets widget, recent tweets plugin, recent tweet feeds
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
+ Tested up to: 4.5
7
+ Stable tag: 1.4.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
 
109
  == Changelog ==
110
+ = 1.4.3 =
111
+ * Added aptf_feeds_template action under the templates choosing option
112
+ * Added aptf_settings filter while saving the settings
113
+
114
  = 1.4.2 =
115
  * Done the bug fixing for widget.
116
  * Done the fix in the plugin to work with proxy if configured in wp-config file.