Title: frobie's Replies | WordPress.org

---

# frobie

  [  ](https://wordpress.org/support/users/frobie/)

 *   [Profile](https://wordpress.org/support/users/frobie/)
 *   [Topics Started](https://wordpress.org/support/users/frobie/topics/)
 *   [Replies Created](https://wordpress.org/support/users/frobie/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/frobie/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/frobie/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/frobie/engagements/)
 *   [Favorites](https://wordpress.org/support/users/frobie/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [register_activation_hook not firing](https://wordpress.org/support/topic/register_activation_hook-not-firing/)
 *  [frobie](https://wordpress.org/support/users/frobie/)
 * (@frobie)
 * [18 years ago](https://wordpress.org/support/topic/register_activation_hook-not-firing/#post-785692)
 * The wp_redirect function does allow for external locations:
 * [http://codex.wordpress.org/Function_Reference/wp_redirect](http://codex.wordpress.org/Function_Reference/wp_redirect)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [register_activation_hook not firing](https://wordpress.org/support/topic/register_activation_hook-not-firing/)
 *  [frobie](https://wordpress.org/support/users/frobie/)
 * (@frobie)
 * [18 years ago](https://wordpress.org/support/topic/register_activation_hook-not-firing/#post-785685)
 * What is the ‘activate’ function trying to do?
 * I encountered the same problem when I wanted the plugin to create tables in the
   database upon activation. I checked the SQL statements with an echo and they 
   were correct.
 * It turned out that I was referencing the global $wpdb value in the method but
   I did not declare it outside its scope.

Viewing 2 replies - 1 through 2 (of 2 total)