Skip to content

Commit

Permalink
Run on plugins_loaded to help fix PR #752
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Sep 18, 2024
1 parent 423de17 commit c3d3384
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gatherpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@
GatherPress\Core\Autoloader::register();

// Initialize setups.
GatherPress\Core\Setup::get_instance();
add_action(
'plugins_loaded',
array( '\GatherPress\Core\Setup', 'get_instance' )
);

0 comments on commit c3d3384

Please sign in to comment.