Browse: Home / Classes / SFWD_LMS /

SFWD_LMS::activate

SFWD_LMS::activate( bool $network_wide = false )

Fire on plugin activation


Description #

Currently sets ‘sfwd_lms_rewrite_flush’ to true


Parameters #

$network_wide

(bool) (Optional) Whether to enable the plugin for all sites in the network or just the current site. Multisite only.

Default value: false


Source #

File: includes/class-ld-lms.php


Changelog #

Changelog
Version Description
4.1.1 Added $network_wide param.
2.1.0 Introduced.