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

Commit

Permalink
Update autoloader hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejchalubek committed May 17, 2017
1 parent 9f04555 commit 2f100b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// Child theme **HAVE TO** be bootstraped after parent
// theme load. We will use `after_load` action
// to delay loading of this child theme.
add_action('Tonik\Gin\Foundation\Autoloader\after_load', function () {
add_action('tonik/gin/autoloader/after_load', function () {
static $bootstraped = false;

if (! $bootstraped) {
Expand All @@ -32,4 +32,4 @@

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

0 comments on commit 2f100b5

Please sign in to comment.