Title: Plugin Development
Last modified: August 19, 2016

---

# Plugin Development

 *  [ckruse](https://wordpress.org/support/users/ckruse/)
 * (@ckruse)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-development-1/)
 * Can someone tell me from experience the best way to have my plugin run an install
   function at activation? I have read the WP articles about register_activation_hook
   and it does not work correctly for me. It throws errors for me left and right,
   and from my research it seems other people have had the same issues.
 * I need to install a DB table at activation, what have you done is what I would
   like to know. Thanks!

The topic ‘Plugin Development’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [development](https://wordpress.org/support/topic-tag/development/)
 * [register_activation_hook](https://wordpress.org/support/topic-tag/register_activation_hook/)

 * 0 replies
 * 1 participant
 * Last reply from: [ckruse](https://wordpress.org/support/users/ckruse/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-development-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
