$plugin['name'],
'slug'=>$plugin['slug'],
'version'=>$plugin['version'],
'author'=>$plugin['author'],
'author_profile'=>$plugin['author_profile'],
'rating'=>$plugin['rating'],
'num_ratings'=>$plugin['num_ratings'],
'active_installs'=>$plugin['active_installs'],
'downloaded'=>$plugin['downloaded'],
'last_updated'=>$plugin['last_updated'],
'tested'=>$plugin['tested'],
'short_description'=>$plugin['short_description'],
'download_link'=>$plugin['download_link'],
'icons'=>$plugin['icons']['1x']
);
}
}
}
}
}
?>
0){?>
$addon['rating'],
'type' => 'percent',
'number' => $addon['num_ratings']
) ); ?>
(
)
= 1000000 ) {
$active_installs_text = _x( '1+ Million', 'Active plugin installs' );
} else {
$active_installs_text = number_format_i18n( $addon['active_installs'] ) . '+';
}
if ( $addon['downloaded'] >= 1000000 ) {
$download_text = _x( '1+ Million', 'Downloaded' );
} else {
$download_text = number_format_i18n( $addon['downloaded'] ) . '+';
}
printf( __( '%s Download, %s Active Installs' ), $download_text, $active_installs_text );
?>