Skip to content

Instantly share code, notes, and snippets.

@jdevalk
Forked from sunnyratilal/EDD Function Example.php
Last active December 17, 2015 07:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jdevalk/5574677 to your computer and use it in GitHub Desktop.
Save jdevalk/5574677 to your computer and use it in GitHub Desktop.
<?php
/**
* Example function description
*
* @since {Next WordPress SEO Version}
*
* @param {array, string, int, objext} {$variable_name} {Short description}
* @param {array, string, int, objext} {$variable_name} {Short description}
*
* @link http://yoast.com/wordpress/seo/api/ Link to external API documentation that this function is calling to, if any
*
* @return {array, string, int, mixed, object} {$variable_name} {Short description}
* {@internal Any To-Dos etc.}
*/
function wpseo_example_function( $param1, $param2 ) {
if ( $this ) {
do( that() );
}
return $var;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment