Changeset 2244720
- Timestamp:
- 02/15/2020 03:34:54 AM (6 years ago)
- File:
-
- 1 edited
-
event-countdown-timer/trunk/tme-countdown.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
event-countdown-timer/trunk/tme-countdown.php
r2244716 r2244720 16 16 define('tme_COUNT_VERSION', 101); 17 17 18 $default_setting = array( 'title' => 'Countdown' , 'img_link' => plugin_dir_url( __FILE__ )."image/default-img.jpg", 'background_color' => '#53bde3', 'time_box_color' => '#2c4f90', 'time_text_color' => '#ffffff', 'time_title_color' => '#ffffff' , 'countdown_datetime' => '','countdown_timezone' => date_default_timezone_get() );18 $default_setting = array( 'title' => 'Countdown' , 'img_link' => plugin_dir_url( __FILE__ )."image/default-img.jpg", 'background_color' => '#53bde3', 'time_box_color' => '#2c4f90', 'time_text_color' => '#ffffff', 'time_title_color' => '#ffffff', 'countdown_date' => '' , 'countdown_datetime' => '','countdown_timezone' => date_default_timezone_get() ); 19 19 20 20 require_once( ABSPATH . 'wp-includes/pluggable.php' ); … … 58 58 global $default_setting; 59 59 $attrs = shortcode_atts( $default_setting, $atts ); 60 if ($attrs['countdown_datetime'] != "") {61 60 return tme_add_countdown($attrs); 62 }63 61 64 62 }
Note: See TracChangeset
for help on using the changeset viewer.