We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d05d138 commit bdb5036Copy full SHA for bdb5036
1 file changed
benchpress.php
@@ -77,6 +77,21 @@ function benchpress_settings_link( $links ) {
77
78
new WPComPluginHandler( plugin_basename( __FILE__ ), 'https://robertdevore.com/why-this-plugin-doesnt-support-wordpress-com-hosting/' );
79
80
+/**
81
+ * Load plugin text domain for translations
82
+ *
83
+ * @since 1.2.0
84
+ * @return void
85
+ */
86
+function benchpress_load_textdomain() {
87
+ load_plugin_textdomain(
88
+ 'customer-loyalty-for-woocommerce',
89
+ false,
90
+ dirname( plugin_basename( __FILE__ ) ) . '/languages/'
91
+ );
92
+}
93
+add_action( 'plugins_loaded', 'benchpress_load_textdomain' );
94
+
95
/**
96
* Summary of benchpress_create_snapshots_table
97
*
0 commit comments