The What
Description
This construct fires the event get_footer
and then locates the template to be loaded. If a specific template name was supplied when calling this function, it will search for footer-{$specific_template_name}.php
; else it searches for footer.php
. If the template is found, then it’s loaded; otherwise, WordPress loads the default theme template is loaded from wp-includes/theme-compat/footer.php
.
Parameters
specific_template_name
- optional The name of the specific footer you want to find and load. Remember not to include “footer-“; rather, it’s just the partial name of the PHP file.
Return Values
This function does not return anything.
There’s a time to code and …. yup, that sums it up.
More coming soon…keep checking back.