Changeset 1804942
- Timestamp:
- 01/18/2018 06:53:41 AM (8 years ago)
- File:
-
- 1 edited
-
nowon/trunk/nowon.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nowon/trunk/nowon.php
r1804890 r1804942 3 3 * Plugin Name: autometa's NOWON 4 4 * Description: It generates current time and date in pages, posts, portfolios or products simply via: [nowon] and [nowadays]. 5 * Version: 2. 15 * Version: 2.2 6 6 * Author: JorgeAmVF 7 7 * Author URI: https://profiles.wordpress.org/jorgeamvf/ … … 29 29 function autometa_current_time() { 30 30 $am_nowon = current_time( 'H:i:s' ); 31 return $am_nowon;31 return $am_nowon; 32 32 } 33 33 add_shortcode( "nowon", "autometa_current_time" ); … … 36 36 function autometa_current_date() { 37 37 $am_nowadays = current_time( 'd M Y' ); 38 return $am_nowadays;38 return $am_nowadays; 39 39 } 40 40 add_shortcode( "nowadays", "autometa_current_date" );
Note: See TracChangeset
for help on using the changeset viewer.