Did you know ... Search Documentation:
PL_current_query()