Skip to content

Commit

Permalink
IMPROVE: Changed hook to init for loading text domain
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinjohn22 committed Feb 26, 2025
1 parent fbd11fa commit db20b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-job-openings.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __construct() {
AWSM_Job_Openings_Info::init();
}

add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
add_action( 'init', array( $this, 'load_textdomain' ) );
add_action( 'plugins_loaded', array( $this, 'upgrade' ) );
add_action( 'after_setup_theme', array( $this, 'template_functions' ) );
add_action( 'init', array( $this, 'init_actions' ) );
Expand Down

0 comments on commit db20b09

Please sign in to comment.