A friend has asked me to edit a WordPress site that someone else has made for them. Part of it contains the following code:
dynamic_sidebar('footer4')
Which spews out a contact form.
What I want to know is, is there an easy way for me to find out where the function that returns the HTML this contact form is defined?
For example, if there was actually a function called 'footer4', I could do this:
// I've tried this and it doesn't exist;)
$reflFunc = new ReflectionFunction('footer4');
print $reflFunc->getFileName() . ':' . $reflFunc->getStartLine();
I've looked through all the template files and couldn't see anything.
Any advice appreciated.
dynamic_sidebar
you can find the details about it in theCodex