Plugin Directory

Changeset 1460192


Ignore:
Timestamp:
07/25/2016 12:15:00 PM (10 years ago)
Author:
nelio
Message:

Added i18n init function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nelio-featured-posts/trunk/nelio-featured-posts.php

    r1460188 r1460192  
    5858    require_once( NELIOFP_DIR . '/widget.php' );
    5959
     60/**
     61 * Loads all Nelio Featured Posts internationalization strings.
     62 */
     63function neliofp_i18n() {
     64    load_plugin_textdomain( 'nelio-featured-posts', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
     65}//end neliofp_i18n()
     66add_action( 'plugins_loaded', 'neliofp_i18n' );
     67
Note: See TracChangeset for help on using the changeset viewer.