generated from yardinternet/skeleton-package
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhooks.php
35 lines (29 loc) · 935 Bytes
/
hooks.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Hook Classes
|--------------------------------------------------------------------------
| Add your custom hook classes to the classNames array below. All hooks
| defined in these classes will be automatically registered with WordPress.
|
*/
'classNames' => [
// \App\Hooks\Theme::class,
],
/*
|--------------------------------------------------------------------------
| Plugin-Specific Hooks
|--------------------------------------------------------------------------
| Define hooks that are specific to a plugin and should only be registered
| when the plugin is active. Use the plugin’s relative path as the key,
| matching the format required by the WordPress `is_plugin_active()` function.
|
*/
'plugins' => [
// 'acf/acf.php' => [
// 'classNames' => [],
// ],
],
];