You appear to be a bot. Output may be restricted
Description
Load registered plugins
We don't override the values that the user has defined with the hardcoded values. We only apply the hardcoded values when the profile entry does not exist.
Usage
$array = _oik_plugins_load_registered_plugins();
Parameters
Returns
array of registered plugins and their overrides
Source
File name: oik/libs/oik_plugins.php
Lines:
1 to 19 of 19
function _oik_plugins_load_registered_plugins() { $bw_plugins = get_option( "bw_plugins" ); global $bw_registered_plugins; //bw_trace2( $bw_registered_plugins ); if ( is_array( $bw_registered_plugins) && count( $bw_registered_plugins )) { foreach ( $bw_registered_plugins as $plugin => $plugin_data ) { $plugin = oik_update::bw_last_path( $plugin_data['file'] ); //bw_trace2( $plugin ); //bw_trace2( $plugin_data ); if ( !isset( $bw_plugins[$plugin] ) ) { $bw_plugins[$plugin] = $plugin_data; } $bw_plugins[$plugin]['programmatically_registered'] = true; } } //bw_trace2( $bw_plugins ); return( $bw_plugins ); }