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:
commit
116476c45b
|
@ -82,7 +82,7 @@ function wc_get_template_part( $slug, $name = '' ) {
|
||||||
* Get other templates (e.g. product attributes) passing attributes and including the file.
|
* Get other templates (e.g. product attributes) passing attributes and including the file.
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @param mixed $template_name
|
* @param string $template_name
|
||||||
* @param array $args (default: array())
|
* @param array $args (default: array())
|
||||||
* @param string $template_path (default: '')
|
* @param string $template_path (default: '')
|
||||||
* @param string $default_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
|
* $default_path / $template_name
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @param mixed $template_name
|
* @param string $template_name
|
||||||
* @param string $template_path (default: '')
|
* @param string $template_path (default: '')
|
||||||
* @param string $default_path (default: '')
|
* @param string $default_path (default: '')
|
||||||
* @return string
|
* @return string
|
||||||
|
|
Loading…
Reference in New Issue