wpsc_get_plugin_list() WPSCache 1.0
No Hooks.
Return
Null. Nothing.
Usage
wpsc_get_plugin_list();
Code of wpsc_get_plugin_list() wpsc get plugin list WPSCache 1.7.1
function wpsc_get_plugin_list() {
$list = do_cacheaction( 'wpsc_filter_list' );
foreach( $list as $t => $details ) {
$key = "cache_" . $details[ 'key' ];
if ( isset( $GLOBALS[ $key ] ) && $GLOBALS[ $key ] == 1 ) {
$list[ $t ][ 'enabled' ] = true;
} else {
$list[ $t ][ 'enabled' ] = false;
}
$list[ $t ][ 'desc' ] = strip_tags( $list[ $t ][ 'desc' ] );
$list[ $t ][ 'title' ] = strip_tags( $list[ $t ][ 'title' ] );
}
return $list;
}