Merge pull request #5390 from jjeaton/locate-template-comment

Update comment to reflect that parameter template_name for wc_get/locate...
This commit is contained in:
Mike Jolley 2014-04-29 12:22:36 +01:00
commit 116476c45b
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ function wc_get_template_part( $slug, $name = '' ) {
* Get other templates (e.g. product attributes) passing attributes and including the file.
*
* @access public
* @param mixed $template_name
* @param string $template_name
* @param array $args (default: array())
* @param string $template_path (default: '')
* @param string $default_path (default: '')
@ -117,7 +117,7 @@ function wc_get_template( $template_name, $args = array(), $template_path = '',
* $default_path / $template_name
*
* @access public
* @param mixed $template_name
* @param string $template_name
* @param string $template_path (default: '')
* @param string $default_path (default: '')
* @return string