Skip to content

Commit

Permalink
Merge pull request #157 from newfold-labs/experience_level_updating
Browse files Browse the repository at this point in the history
changed the hook from init to toplevel_page_bluehost in order to avoi…
  • Loading branch information
ramyakrishnai authored Oct 20, 2023
2 parents 693becb + 199cf07 commit b1be139
Show file tree
Hide file tree
Showing 4 changed files with 855 additions and 808 deletions.
50 changes: 25 additions & 25 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion includes/ECommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct( Container $container ) {
$this->container = $container;
// Module functionality goes here
add_action( 'init', array( $this, 'load_php_textdomain' ) );
add_action( 'init', array( $this, 'load_experience_level' ) );
add_action( 'toplevel_page_bluehost', array( $this, 'load_experience_level' ) );
add_action( 'admin_init', array( $this, 'maybe_do_dash_redirect' ) );
add_action( 'admin_bar_menu', array( $this, 'newfold_site_status' ), 200 );
add_action( 'rest_api_init', array( $this, 'register_routes' ) );
Expand Down
Loading

0 comments on commit b1be139

Please sign in to comment.