ActionScheduler_Action::set_hook()protectedWC 1.0

Set action's hook.

Method of the class: ActionScheduler_Action{}

No Hooks.

Return

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() code WC 9.4.2

protected function set_hook( $hook ) {
	$this->hook = $hook;
}