Switch language

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




pings_open [ WordPress Function ]

pings_open ( $post_id = null )
Parameters:
  • (int) $post_id An optional post ID to check instead of the current post.
Uses:
  • $post
Returns:
  • (bool) True if pings are accepted
Defined at:



Whether the current post is open for pings.

Source


<?php
function pings_open$post_id null ) {

    
$_post get_post($post_id);

    
$open = ( 'open' == $_post->ping_status );
    return 
apply_filters'pings_open'$open$post_id );
}
?>

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