New answers tagged

0

You may need to have this line in your code require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); The plugin.php file is not automatically included.


1

50 is relatively not much, and you should create them on the plugin activation hook. For more then 100 (just pulled the number out of my ass ;) do your own testing on some slow shared hosting) I would create a settings page and initialize the DB from there. The reason is that users do not expect plugin activation to take long and might think that something ...



Top 50 recent answers are included