@@ -136,6 +136,9 @@ discard block |
||
136 | 136 | do_action( 'wpinv_after_template_part', $template_name, $template_path, $located, $args ); |
137 | 137 | } |
138 | 138 | |
139 | +/** |
|
140 | + * @param string $template_name |
|
141 | + */ |
|
139 | 142 | function wpinv_get_template_html( $template_name, $args = array(), $template_path = '', $default_path = '' ) { |
140 | 143 | ob_start(); |
141 | 144 | wpinv_get_template( $template_name, $args, $template_path, $default_path ); |
@@ -168,6 +171,10 @@ discard block |
||
168 | 171 | return apply_filters( 'wpinv_locate_template', $template, $template_name, $template_path ); |
169 | 172 | } |
170 | 173 | |
174 | +/** |
|
175 | + * @param string $slug |
|
176 | + * @param boolean $name |
|
177 | + */ |
|
171 | 178 | function wpinv_get_template_part( $slug, $name = null, $load = true ) { |
172 | 179 | do_action( 'get_template_part_' . $slug, $slug, $name ); |
173 | 180 | |
@@ -867,6 +874,9 @@ discard block |
||
867 | 874 | return apply_filters( 'wpinv_get_watermark', $output, $id ); |
868 | 875 | } |
869 | 876 | |
877 | +/** |
|
878 | + * @param integer $id |
|
879 | + */ |
|
870 | 880 | function wpinv_get_watermark( $id ) { |
871 | 881 | if ( !$id > 0 ) { |
872 | 882 | return NULL; |