wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



the_archive_description › WordPress Function

Depuis4.1.0
Dépréciéen/a
the_archive_description ( $before = '', $after = '' )
Paramètres: (2)
  • (string) $before Optional. Content to prepend to the description. Default empty.
    Requis: Non
    Défaut: (vide)
  • (string) $after Optional. Content to append to the description. Default empty.
    Requis: Non
    Défaut: (vide)
Voir:
Défini(e) dans:
Codex:

Displays category, tag, term, or author description.



Source

function the_archive_description( $before = '', $after = '' ) {
	$description = get_the_archive_description();
	if ( $description ) {
		echo $before . $description . $after;
	}
}