Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved AMP_QUERY_VAR definition to
amp_init
and filtered it.
Checking if the constant is defined might not be enought for some environments, where the plugins are loaded much earlier than the theme. Using a filter when defining the constant allows to change the value on the theme.
- Loading branch information