wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp › WordPress Function

Od2.0.0
Przestarzałyn/a
› wp ( $query_vars = '' )
Parametry:
  • (string|array) $query_vars Default WP_Query arguments.
    Wymagane: Nie
    Domyślny: (puste)
Zdefiniowane na:
Codex:

Sets up the WordPress query.



Powiązane Funkcje: wp_die, wp_rss

Źródło

function wp( $query_vars = '' ) {
	global $wp, $wp_query, $wp_the_query;

	$wp->main( $query_vars );

	if ( ! isset( $wp_the_query ) ) {
		$wp_the_query = $wp_query;
	}
}