add_rewrite_rule not producing anything in $_GET

You can use the function get_query_var().

Like so:

$event_slug = get_query_var('event_slug');

More info in the Codex.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)