Skip to content
Snippets Groups Projects
Commit bbab1694 authored by Sean Madsen's avatar Sean Madsen
Browse files

hooks migrate - adding script to print wiki redirects

parent b7cd6abc
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,6 @@
include __DIR__ . '/hooks-by-category.php';
$root_dir = dirname(dirname(__DIR__));
$hooks_dir = "$root_dir/docs/hooks";
foreach ($hooks_by_category as $category => $hooks) {
echo " - $category hooks:" . PHP_EOL;
foreach ($hooks as $hook) {
......
#!/usr/bin/env php
<?php
include __DIR__ . '/hooks-by-category.php';
foreach ($hooks_by_category as $category => $hooks) {
foreach ($hooks as $hook) {
echo "$hook hooks/$hook" . PHP_EOL;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment