Browse: Home / Classes / SFWD_LMS /

SFWD_LMS::option_active_plugins_proc

SFWD_LMS::option_active_plugins_proc( array $active_plugins )

This is called from the get_options() function for the option ‘active_plugins’. Using this filter we can append our LearnDash plugin path, allowing other plugins to check via is_plugin_active() even if learndash is installed in a non-standard plugin directory.


Description #


Parameters #

$active_plugins

(array) (Required) An array of the current active plugins.


Return #

(array) $active_plugins


Source #

File: includes/class-ld-lms.php


Changelog #

Changelog
Version Description
2.3.0.3 Introduced.