Plugin Directory

Changeset 2244720


Ignore:
Timestamp:
02/15/2020 03:34:54 AM (6 years ago)
Author:
techmix
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • event-countdown-timer/trunk/tme-countdown.php

    r2244716 r2244720  
    1616define('tme_COUNT_VERSION', 101);
    1717
    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()  );
    1919
    2020require_once( ABSPATH . 'wp-includes/pluggable.php' );
     
    5858  global $default_setting;
    5959  $attrs = shortcode_atts( $default_setting, $atts );
    60   if ($attrs['countdown_datetime'] != "") {
    6160    return tme_add_countdown($attrs);
    62   }
    6361 
    6462}
Note: See TracChangeset for help on using the changeset viewer.