Skip to content

Commit

Permalink
load Omise admin page with plugins_loaded action hook
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-omise committed Mar 10, 2015
1 parent ec5c599 commit 7562b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omise-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@

add_action ( 'plugins_loaded', 'register_omise_wc_gateway_plugin', 0 );
add_action ( 'plugins_loaded', 'prepare_omise_myaccount_panel', 0 );
add_action ( 'wp_loaded', array ( Omise_Admin::get_instance(), 'register_admin_page_and_actions' ) );
add_action ( 'plugins_loaded', array ( Omise_Admin::get_instance(), 'register_admin_page_and_actions' ) );
?>

0 comments on commit 7562b35

Please sign in to comment.