Update comment to reflect that parameter template_name for wc_get/locate_template() only accepts strings

Fixes #5389
This commit is contained in:
Josh Eaton 2014-04-28 16:04:21 -04:00
parent 746b79a49d
commit 3d8daf7054
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