Changeset 760742
- Timestamp:
- 08/22/2013 03:23:32 PM (13 years ago)
- File:
-
- 1 edited
-
themeloom-widgets/trunk/facebook-widget.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
themeloom-widgets/trunk/facebook-widget.php
r760695 r760742 20 20 public function widget( $args, $instance ) { 21 21 22 $pageinfo = livingos_get_fb_page_info( $instance['page_id'], $instance['auth_token'], 3600 );22 $pageinfo = livingos_get_fb_page_info( $instance['page_id'], $instance['auth_token'], 21600 ); 23 23 24 24 // outputs the content of the widget … … 119 119 * Get page info 120 120 */ 121 function livingos_get_fb_page_info( $page_id, $auth_token, $cache_expire = 3600 ){121 function livingos_get_fb_page_info( $page_id, $auth_token, $cache_expire = 21600 ){ 122 122 123 123 //Page info : check cache … … 146 146 * Get page fee 147 147 */ 148 function livingos_get_fb_page_feed( $page_id, $auth_token, $num_posts, $cache_expire = 3600 ){148 function livingos_get_fb_page_feed( $page_id, $auth_token, $num_posts, $cache_expire = 21600 ){ 149 149 150 150 //Page Feed : check cache … … 184 184 'show_likes' => true, 185 185 'follow_message' => __('Join us on Facebook','livingos'), 186 'cache_expire' => 60186 'cache_expire' => 21600 187 187 ); 188 188 $args = wp_parse_args( $args, $defaults );
Note: See TracChangeset
for help on using the changeset viewer.