Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




has_excerpt [ WordPress Function ]

has_excerpt ( $id = 0 )
Parameters:
  • (int) $id Optional. Post ID.
Returns:
  • (bool)
Defined at:



Whether post has excerpt.

Source


<?php
function has_excerpt$id ) {
    
$post = &get_post$id );
    return ( !empty( 
$post->post_excerpt ) );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics