Changeset 1816925
- Timestamp:
- 02/07/2018 01:36:10 AM (8 years ago)
- File:
-
- 1 edited
-
wp-quotpedia/trunk/wp-quotpedia.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-quotpedia/trunk/wp-quotpedia.php
r1816922 r1816925 17 17 add_action( 'widgets_init', 'wpb_load_widget' ); 18 18 19 add_action( 'plugins_loaded', 'myplugin_load_textdomain' ); 20 /** 21 * Load plugin textdomain. 22 * 23 * @since 1.0.0 24 */ 25 function myplugin_load_textdomain() { 26 load_plugin_textdomain( 'wp-quotpedia', false, basename( dirname( __FILE__ ) ) . '/languages' ); 27 } 28 19 29 // Creating the widget 20 30 class wpb_widget extends WP_Widget {
Note: See TracChangeset
for help on using the changeset viewer.