Support

Account

Home Forums Add-ons Options Page A bit confused about how it works Reply To: A bit confused about how it works

  • Where are you adding this code? If it is in a plugin, please try hooking on plugins_loaded and do it there.

    http://codex.wordpress.org/Plugin_API/Action_Reference/plugins_loaded

    If you are in a theme, try hooking on init instead.