Plugin Directory

Changeset 1575832


Ignore:
Timestamp:
01/16/2017 05:39:38 PM (9 years ago)
Author:
ted537
Message:

added call to load_plugin_textdomain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lead-assign/trunk/actions.php

    r1571205 r1575832  
    3030// hook into sidebar setup so that we can delete unneeded forms
    3131add_action( 'sidebar_admin_setup', 'leadassign_cleanup_widget' );
     32
     33// translations
     34add_action('init',function() {
     35  load_plugin_textdomain('lead-assign', false, dirname(plugin_basename(__FILE__)) . '/languages' );
     36});
Note: See TracChangeset for help on using the changeset viewer.