12.4.3. Artikeltyp zurückgeben

Von welchem Typ ein aktueller Beitrag ist erfahren Sie mit folgender Funktion:

<?php
function get_post_type( $post = null ) {
	...
}
?>

Es gilt:

You’re not allowed to see this content. Please log in first.

Folgendes Beispiel hängt den Artikeltyp am Ende des Inhalts an:

You’re not allowed to see this content. Please log in first.

Beispiel 2:

You’re not allowed to see this content. Please log in first.