Skip to content

Commit

Permalink
Update loopy.php
Browse files Browse the repository at this point in the history
  • Loading branch information
d4s6 authored Feb 17, 2020
1 parent 375f383 commit 08a1d7b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions loopy.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/* Plugin Name: loopy
* Plugin URI: https://github.com/drdf/loopy
* Description:
* Version: 0.1.0
* Description: For the loopy developers who want to iterate with `foreach` over `WP_Query`.
* Version: 1.0.0
* Author: David Ringsdorf
* Author URI: https://davidringsdorf.de/
* License: MIT
Expand All @@ -14,8 +14,12 @@
/**
* loopy
*
* @author: David Ringsdorf <https://davidringsdorf.de/>
* @version 0.1.0
* For the loopy developers who want to iterate with `foreach` over `WP_Query`.
*
* @author David Ringsdorf <https://davidringsdorf.de/>
* @package loopy
* @version 1.0.0
* @license MIT
*/
function loopy(WP_Query $wpQuery) {
$wpQuery->rewind_posts();
Expand Down

0 comments on commit 08a1d7b

Please sign in to comment.