wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_get_single_post is deprecated since version 3.5.0!
Alternative: Ver página de detalhe para get_post »" href="https://pt.wpseek.com/function/get_post/">get_post()
Alternative: Ver página de detalhe para get_post »" href="https://pt.wpseek.com/function/get_post/">get_post()
wp_get_single_post › WordPress Function
Desde1.0.0
Obsoleto3.5.0
› wp_get_single_post ( $postid = 0, $mode = OBJECT )
Parâmetros: (2) |
|
Ver: | |
Retorna: |
|
Definido em: |
|
Codex: |
Retrieve a single post, based on post ID.
Has categories in 'post_category' property or key. Has tags in 'tags_input' property or key.Funções relacionadas: get_next_post, wp_get_recent_posts, wp_remote_post, wp_insert_post, wp_delete_post