Changeset 1642601
- Timestamp:
- 04/21/2017 06:07:28 PM (9 years ago)
- File:
-
- 1 edited
-
by-this-author/trunk/by-this-author.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
by-this-author/trunk/by-this-author.php
r1642080 r1642601 193 193 static function init() 194 194 { 195 load_plugin_textdomain( 'by-this-author', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/');196 197 add_shortcode( 'by-this-author', array(self, 'sc_by_this_author'), 1);198 add_shortcode( 'get-age', array(self, 'sc_get_age_from_date'), 1);199 add_shortcode( 'time-machine', array(self, 'sc_time_machine'), 1);200 add_shortcode( 'list-authors', array(self, 'sc_list_authors'), 1);195 load_plugin_textdomain( 'by-this-author', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); 196 197 add_shortcode( 'by-this-author', array( get_class(), 'sc_by_this_author' ), 1 ); 198 add_shortcode( 'get-age', array( get_class(), 'sc_get_age_from_date' ), 1 ); 199 add_shortcode( 'time-machine', array( get_class(), 'sc_time_machine' ), 1 ); 200 add_shortcode( 'list-authors', array( get_class(), 'sc_list_authors' ), 1 ); 201 201 202 202 By_This_Author_People_Lists::init();
Note: See TracChangeset
for help on using the changeset viewer.