Switch language

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




get_comments_popup_template [ WordPress Function ]

get_comments_popup_template ( No parameters )
Uses:
Returns:
  • (string)
Defined at:



Retrieve path of comment popup template in current or parent template.

Checks for comment popup template in current template, if it exists or in the parent template.

Source


<?php
function get_comments_popup_template() {
    
$template get_query_template'comments_popup', array( 'comments-popup.php' ) );

    
// Backward compat code will be removed in a future release
    
if ('' == $template)
        
$template ABSPATH WPINC '/theme-compat/comments-popup.php';

    return 
$template;
}
?>

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