wpsc_get_plugin_list()
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wpsc_get_plugin_list();
Код wpsc_get_plugin_list() wpsc get plugin list WPSCache 2.0.0
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; }