Plugin Directory

Changeset 2340801


Ignore:
Timestamp:
07/15/2020 08:28:45 AM (5 years ago)
Author:
skyroom
Message:

language fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skyroom-wp/trunk/skyroom.php

    r2340792 r2340801  
    2727// Boot plugin
    2828add_action('plugins_loaded', [new Skyroom\Plugin(), 'boot']);
     29
     30function my_plugin_load_plugin_textdomain() {
     31    load_plugin_textdomain( 'skyroom', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
     32}
     33add_action( 'plugins_loaded', 'my_plugin_load_plugin_textdomain' );
Note: See TracChangeset for help on using the changeset viewer.