Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit 2f100b5

Browse files
Update autoloader hook name
1 parent 9f04555 commit 2f100b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// Child theme **HAVE TO** be bootstraped after parent
2323
// theme load. We will use `after_load` action
2424
// to delay loading of this child theme.
25-
add_action('Tonik\Gin\Foundation\Autoloader\after_load', function () {
25+
add_action('tonik/gin/autoloader/after_load', function () {
2626
static $bootstraped = false;
2727

2828
if (! $bootstraped) {
@@ -32,4 +32,4 @@
3232

3333
(new Tonik\Gin\Foundation\Autoloader($theme->get('child.config')))->register();
3434
}
35-
});
35+
});

0 commit comments

Comments
 (0)