Switch language

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




_preview_theme_template_filter [ WordPress Function ]

_preview_theme_template_filter ( No parameters )
Access:
  • private
Returns:
  • (string)
Defined at:



Private function to modify the current template when previewing a theme

Source


<?php
function _preview_theme_template_filter() {
    return isset(
$_GET['template']) ? $_GET['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