0

Is there a list of all the WordPress predefined variables? Like, for example, this php manual page.

I could not find it in the new WordPress Code Reference, while in the "old" Codex the page seems to me not updated (for example, the $shortcode_tags variable is missing).

If there is no such list on the WordPress website, how can I view the WordPress variables only? For example, filtering the PHP global variable $GLOBALS with a key/index to obtain only the specific WordPress variables (and then printing these with var_dump, print_r, et similia).

Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.