Skip to content

Commit

Permalink
Update helpers to use framework functions
Browse files Browse the repository at this point in the history
  • Loading branch information
darylldoyle committed Jan 20, 2025
1 parent a222206 commit 7e8db0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mu-plugins/10up-plugin/includes/helpers/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
*
* @param string $class_name The class name including the namespace.
*
* @return false|Module
* @return false|\TenupFramework\ModuleInterface
*/
function get_module( $class_name ) {
return \TenUpPlugin\ModuleInitialization::instance()->get_class( $class_name );
return \TenupFramework\ModuleInitialization::get_module( $class_name );
}
4 changes: 2 additions & 2 deletions themes/10up-theme/includes/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
*
* @param string $class_name The class name including the namespace.
*
* @return false|Module
* @return false|\TenupFramework\ModuleInterface
*/
function get_module( $class_name ) {
return \TenUpTheme\ModuleInitialization::instance()->get_class( $class_name );
return \TenupFramework\ModuleInitialization::get_module( $class_name );
}

0 comments on commit 7e8db0c

Please sign in to comment.