Skip to main content

query_verb

Discworld driver help

query_verb

Name

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

Synopsis

string query_verb( void );

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()