Plugin Directory

Changeset 1877969


Ignore:
Timestamp:
05/20/2018 11:39:08 AM (8 years ago)
Author:
ej3martin
Message:

Plugin Text Domain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jade-gdpr/trunk/jadeGDPR.php

    r1877943 r1877969  
    3939add_action( 'wp_login', 'jadeGDPR_last_login', 10, 2 );
    4040
     41function jadeGDPR_load_plugin_textdomain() {
     42   
     43    load_plugin_textdomain( 'jade-gdpr', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
     44
     45}
     46add_action( 'plugins_loaded', 'jadeGDPR_load_plugin_textdomain' );
    4147
    4248add_action( 'show_user_profile', 'jadeGDPR_profile_fields' );
Note: See TracChangeset for help on using the changeset viewer.