query_verb(3)

NAME
query_verb() - return the name of the command currently being executed

SYNOPSIS
string query_verb();

DESCRIPTION
Give the name of the current command, or 0 if not executing from a command. This function is useful when several commands (verbs) may cause the same function to execute and it is necessary to determine which verb it was that invoked the function.

SEE ALSO
add_action(3), add_verb(3), add_xverb(3).