Skip to content
Snippets Groups Projects
Commit 71767315 authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix hook for textdomain loading

parent ff1613ae
Branches
Tags
Loading
Pipeline #4894 passed
...@@ -80,7 +80,7 @@ class taxonomy_dropdown_widget_plugin { ...@@ -80,7 +80,7 @@ class taxonomy_dropdown_widget_plugin {
* @return null * @return null
*/ */
protected function setup() { protected function setup() {
add_action( 'plugin_loaded', array( $this, 'load_textdomain' ) ); add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
add_action( 'widgets_init', array( $this, 'action_widgets_init' ) ); add_action( 'widgets_init', array( $this, 'action_widgets_init' ) );
register_activation_hook( __FILE__, array( $this, 'activation_hook' ) ); register_activation_hook( __FILE__, array( $this, 'activation_hook' ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment