get_footer

FUNCTION wp-includes\general-template.php (ligne 28) github
Fires before the header template file is loaded.

Paramètres

Entrée :
$name = null, $args = array(
Sortie :
@param string|null $name Name of the specific header file to use. Null for the default header.
@param array       $args Additional arguments passed to the header template.
@param string|null $name The name of the specialized footer. Default null.
@param array       $args Optional. Additional arguments passed to the footer template.
@return void|false Void on success, false if the template does not exist.

Utilisation

// Utilisation de la fonction get_footer
$result = get_footer($name = null, $args = array();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...