Switch language

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




wp_defer_term_counting [ WordPress Function ]

wp_defer_term_counting ( $defer = null )
Parameters:
  • (bool) $defer Optional. Enable if true, disable if false.
Returns:
  • (bool) Whether term counting is enabled or disabled.
Defined at:



Enable or disable term counting.

Source


<?php
function wp_defer_term_counting($defer=null) {
    static 
$_defer false;

    if ( 
is_bool($defer) ) {
        
$_defer $defer;
        
// flush any deferred counts
        
if ( !$defer )
            
wp_update_term_countnullnulltrue );
    }

    return 
$_defer;
}
?>

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