Last active
August 29, 2015 14:18
-
-
Save nathansh/0d7f4ee0bc78128927d6 to your computer and use it in GitHub Desktop.
Basic docblock example with associative array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Used to print a list of shows in feed format | |
* | |
* <code> | |
* $args = array( | |
* 'count' => 6, // int | |
* 'exclude_featured' => false, | |
* 'exclude_past' => true, // bool | |
* 'exclude_future' => false, // bool | |
* 'genre' => false, // show genres to include | |
* 'exclude' => false // array of post ID's to exclude | |
* ); | |
* </code> | |
* | |
* @param array $args Associative array of arguments | |
* @return string HTML for show feed | |
* | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment