ActionScheduler_Action::set_hook
Set action's hook.
Method of the class: ActionScheduler_Action{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->set_hook( $hook );
- $hook(string) (required)
- Action's hook.
ActionScheduler_Action::set_hook() ActionScheduler Action::set hook code WC 10.7.0
protected function set_hook( $hook ) {
$this->hook = $hook;
}