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 ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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