Skip to content

Commit

Permalink
Add usage comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Oct 22, 2024
1 parent 1b571d1 commit af5a720
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ModuleController {

/**
* Initialize the Module Controller functionality.
*
* @used-by wp-module-onboarding/bootstrap.php
*/
public static function init() {
// Enable/Disable the module after_setup_theme.
Expand All @@ -26,6 +28,8 @@ public static function init() {

/**
* Enable/Disable Onboarding based on certain checks.
*
* @hooked after_setup_theme
*/
public static function module_switcher() {
$module_name = 'onboarding';
Expand Down

0 comments on commit af5a720

Please sign in to comment.