do_action( 'get_footer', string|null $name, array $args )

Fires before the footer template file is loaded.


Parameters

$name

Name of the specific footer file to use. Null for the default footer.

$args

Additional arguments passed to the footer template.


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
5.5.0 The $args parameter was added.
2.8.0 The $name parameter was added.
2.1.0 Introduced.