diff --git a/content-warning-v2.php b/content-warning-v2.php index b1b20be..3499846 100644 --- a/content-warning-v2.php +++ b/content-warning-v2.php @@ -290,6 +290,8 @@ public function override_css() { */ public function register_frontend_data() { + load_plugin_textdomain( 'content-warning-v2', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' ); + // Jquery Cookie wp_register_script( 'jquery_cookie', $this->url( "js/jquery_cookie{$this->min}.js" ), array( 'jquery' ), '1.4.1', true );