Skip to content

Commit 058f34b

Browse files
committed
fix(translations): remove deprecated load_plugin_textdomain usage
1 parent ab833d9 commit 058f34b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

google-spreadsheet-to-db.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,6 @@ function activate_google_ss2db(): void {
6363
}
6464
register_activation_hook( __FILE__, 'activate_google_ss2db' );
6565

66-
/**
67-
* Loads the plugin's text domain for internationalization.
68-
*
69-
* @return void
70-
*/
71-
function google_ss2db_load_textdomain(): void {
72-
load_plugin_textdomain( 'google-spreadsheet-to-db', false, plugin_basename( __DIR__ ) . '/languages' );
73-
}
74-
add_action( 'plugins_loaded', 'google_ss2db_load_textdomain' );
75-
7666
/**
7767
* Adds a link to the plugin's GitHub page in the plugin meta row.
7868
*

0 commit comments

Comments
 (0)