Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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