Questa è una lista esaustiva di chiavi pubbliche attualmente in uso in WordPress
- attachment
- attachment_id
- author
- author_name
- cat
- calendar
- category_name
- comments_popup
- cpage
- day
- error
- exact
- feed
- hour
- m
- minute
- monthnum
- more
- name
- order
- orderby
- p
- page_id
- page
- paged
- pagename
- pb
- post_type
- posts
- preview
- robots
- s
- search
- second
- sentence
- static
- subpost
- subpost_id
- taxonomy
- tag
- tag_id
- tb
- term
- w
- withcomments
- withoutcomments
- year
La variabile pubblica può essere usata in un URL querystring. La Chiave Privata no.
La chiave privata puù essere utilizzata quando create una query in php.
<?php $query = new WP_Query(array( post__in => array(3, 7) ));
Non funziona ad esempio su http://esempio.estensione/?post__in=3,7 in quanto post__in è una chiave privata.
Vedi anche Lista Chiavi private