• I can’t get the latest WordPress on PHP 5.5.9 to allow me to use custom $_GET variables.

    I have tried the instructions from https://www.ads-software.com/support/topic/how-to-pass-value-in-wordpress-url but it’s still not setting that variable. Does the addfilter HAVE to go in my theme? Can it be included in my plugin instead? Are there any PHP settings required to use $_GET data?

    For the record, I’m trying to make a Beta Key Giveaway Plugin work once again. I used it some months ago with an older version of WP and it worked.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    add_filter() may be called from plugins just as well as from themes. I can’t imagine anything in PHP 5.5 that would prevent passing values as URL parameters that are available in $_GET. It’s a very fundamental feature. The problem must lie elsewhere. But I’m still on 5.4, so I wouldn’t know for sure.

Viewing 1 replies (of 1 total)
  • The topic ‘Help with custom $_GET variables’ is closed to new replies.