get_the_title()

0.000346 сек
Быстро

Gets the entry’s title for later use in PHP. You can get the title of the specified post.

The function can be used inside a WordPress Loop without specifying a parameter, then the title of the current post in the loop will be returned. Or pass the post ID in the first parameter and the function will return the title of the specified post.

If the post is «password-protected» or «private», the corresponding label will appear before the title: «Protected: » and «Private: «.

Функции

Подпишитесь на новости

Никакого спама, только полезные материалы и новости.