Is there any way of inspecting an element and seeing from which PHP file is comming from? -


for instance, when i'm trying understand how wordpress theme coded, spend hours trying figure out php file generating element (for instance, div or link).

is there way of detecting php file?

you can use debug_backtrace() or debug_print_backtrace() dig deep , find out kinds of information, such when , functions called , files loaded.

this useful finding out how wordpress theme coded. tell pretty everything.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -