Skip to content

Commit

Permalink
add feature hooks after plugins_loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed May 14, 2024
1 parent 92b1ebd commit b9d61f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/StagingFeatureHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class StagingFeatureHooks {
* Constructor.
*/
public function __construct() {
$this->hooks();
\add_action( 'plugins_loaded', array( $this, 'hooks' ) );
}

/**
Expand Down

0 comments on commit b9d61f5

Please sign in to comment.