Skip to content

Commit

Permalink
wait until all plugins are loaded
Browse files Browse the repository at this point in the history
Otherwise, we might not know about an extension
  • Loading branch information
Ron Barack committed Oct 22, 2019
1 parent 02f9fc9 commit dc3670a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bmlt-meeting-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function __construct() {
$this->lang = $this->get_bmlt_server_lang();
$this->load_translations();
if (isset($holder['current-meeting-list']) && !is_admin()) {
$this->bmlt_meeting_list();
add_action( 'plugins_loaded', array(&$this, 'bmlt_meeting_list' ));
} else if (is_admin()) {
add_action("admin_init", array(&$this, 'my_sideload_image'));
add_action("admin_menu", array(&$this, "admin_menu_link"));
Expand Down

0 comments on commit dc3670a

Please sign in to comment.