Filters the text prepended to the post title for protected posts. The filter is only applied on the front end.
$post = 0
Sortie :
@param string $prepend Text displayed before the post title. @param WP_Post $post Current post object. @param string $prepend Text displayed before the post title. @param WP_Post $post Current post object. @param string $post_title The post title. @param int $post_id The post ID. @param int|WP_Post $post Optional. Post ID or post object. Default is global $post.
// Utilisation de la fonction the_guid
$result = the_guid($post = 0);
if ($result) {
// Votre logique ici
}
Chargement des actualités...