hook_pos

Returns the position in the hook chain the currently executing hook occupies

Behaviour

  • Returns the position in the hook chain the currently executing hook occupies

Definition

C

int64_t hook_pos (void);

Example

C

int64_t pos = 
  	hook_pos();

Parameters

This API has no parameters

Return Code

Type
Description

int64_t

The position in the chain the currently executing hook occupies. The first position is 0.

Last updated