Forums
(@opacity-design)
8 years, 11 months ago
As a workaround place the following in your functions.php file. include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
See Function Reference
If you want to use this function from within a template, you will need to manually require plugin.php