wpsc_get_plugin_list()WPSCache 1.0

Хуков нет.

Возвращает

null. Ничего (null).

Использование

wpsc_get_plugin_list();

Код wpsc_get_plugin_list() WPSCache 1.12.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;
}