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.
Hands off the keyboard. Web development starts by thinking first, then planning it out, and then coding it.
More coming soon…keep checking back.