add_plugin_hook¶
Summary¶
- add_plugin_hook(string $hook, mixed $callback)¶
Declare a plugin hook implementation within a plugin.
Parameters: - $hook (string) – Name of hook being implemented.
- $callback (mixed) – Any valid PHP callback.
Usage¶
Examples¶
<?php add_plugin_hook('install', 'exhibit_builder_install'); ?>