Method: Called from the ‘all_plugins’ filter. This is called from the Plugins listing screen and will let us set out internal flag ‘ALL_PLUGUNS_CALLED’ so we know when (and when not) to add the legacy pluin paths
Method: Called from the ‘pre_current_active_plugins’ action. This is called after the Plugins listing checks for valid plugins. The will let us unset our internal flag ‘ALL_PLUGINS_CALLED’.
Method: This is called from the get_options() function for the option ‘active_plugins’. Using this filter we can append our legacy plugins directories allowing other plugins to check via is_plugin_active() This will protect that connection of LD is installed in a non-standard plugin directory.
Method: This is called from the update_options() function for the option ‘active_plugins’. Using this filter we can remove our legacy plugins directories we added via the option_active_plugins_proc filter.
Function: Calculate the human readable time spent on activity.
Action Hook: Fires on tcpdf initialization.