WP Skillz

WP Skillz

An expert-level WordPress plugin developer skills test

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Leaderboards
  • Resources

Post navigation

← Previous Next →

Question 1 of 12 (0% complete)

What is the best way to add the additional private query variable foo to the current page’s query?

  1. add_query_arg( 'foo', 'bar' );

  2. global $wp_query; $wp_query->set( 'foo', 'bar' );

  3. query_posts( 'foo=bar' );

  4. wp_redirect( '?foo=bar' );

This entry was posted by goldenapples. Bookmark the permalink.

User-submitted Links

  1. justintadlock.com Professional WordPress Plugin Development
    | 0 points by goldenapples 2 years ago - No comments yet
  2. codex.wordpress.org Automated Testing « WordPress Codex
    | 2 points by goldenapples 2 years ago - No comments yet
  3. make.wordpress.org Rewrite endpoints API « Make WordPress Plugins
    | 2 points by goldenapples 2 years ago - No comments yet
  4. jumping-duck.com How to Contribute to WordPress Core – Jumping Duck Media
    | 1 points by goldenapples 2 years ago - No comments yet

View current links

Proudly powered by WordPress
Privacy policyTerms of serviceCookiesContact usAbout usFAQArticlesSitemap