tcmulder / aquamin

Aquamin WordPress Theme
3 stars 1 forks source link

Consider moving 'init' to index.php rather than blocks.php. #77

Closed tcmulder closed 6 months ago

tcmulder commented 10 months ago

So, add 'init' around what's already in index.php for each block, then require_once just like doing for hooks.php currently; that way, I can remove hooks.php altogether, and additional hooks/filters can just go within index.php (or the dev chan choose to add their own file and include it in index.php to separate files).

tcmulder commented 6 months ago

Because I've implemented #78, this would now simply confuse things since no index.php is required.