get_footer

get_footer

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('get_footer') is found 1 times:

  • /wp-includes/general-template.php line 82
    	 *
    	 * @param string|null $name Name of the specific footer file to use. Null for the default footer.
    	 * @param array       $args Additional arguments passed to the footer template.
    	 */
    	do_action( 'get_footer', $name, $args );
    
    	$templates = array();
    	$name      = (string) $name;
    	if ( '' !== $name ) {
    		$templates[] = "footer-{$name}.php";
    	}
    

See this hook used in plugins: