Modify an action hook.
This function is a shortcut of beans_modify_action().
beans_modify_action_hook( string $id, string $hook )
Return: (bool) Will always return true.
Parameters
Name | Type | Required | Default | Description |
---|---|---|---|---|
$id | string | true | - | The action ID. |
$hook | string | false | - | The name of the new action to which the $callback is hooked. Use NULL to keep the original value. |
Source
function beans_modify_action_hook( $id, $hook ) {
return beans_modify_action( $id, $hook );
}