Switch language

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




get_query_var [ WordPress Function ]

get_query_var ( $var )
Parameters:
  • (string) $var The variable key to retrieve.
Uses:
  • $wp_query
See:
  • WP_Query::get()
Returns:
  • (mixed)
Defined at:



Retrieve variable in the WP_Query class.

Source


<?php
function get_query_var($var) {
    global 
$wp_query;

    return 
$wp_query->get($var);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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