'iografica', 'fields' => array( 'description' => true, 'downloadlink' => true ) ); // Make request and extract plug-in object. Action is query_plugins $response = wp_remote_post( 'http://api.wordpress.org/plugins/info/1.0/', array( 'body' => array( 'action' => 'query_plugins', 'request' => serialize((object)$args) ) ) ); if ( !is_wp_error($response) ) { $returned_object = unserialize(wp_remote_retrieve_body($response)); $plugins = $returned_object->plugins; if ( !is_array($plugins) ) { // Response body does not contain an object/array echo esc_html__('An error has occurred', 'boxed-wp'); } else { // Display a list of the plug-ins and the number of downloads if ( $plugins ) { foreach ( $plugins as $plugin ) { ?>
name) ?>

short_description, 0, 60). __( '…', 'boxed-wp' ));?>