edd_install( $network_wide = false )
Install
Description Description
Runs on plugin install by setting up the post types, custom taxonomies, flushing rewrite rules to initiate the new ‘downloads’ slug and also creates the plugin and populates the settings fields for those plugin pages. After successful install, the user is redirected to the EDD Welcome screen.
Parameters Parameters
- $network_side
-
(Required) If the plugin is being network-activated
Return Return
(void)
Source Source
File: includes/install.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |