@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | * @param string $post_type |
| 220 | 220 | * @param string $post_format |
| 221 | 221 | * @return string $template |
| 222 | - */ |
|
| 222 | + */ |
|
| 223 | 223 | function alnp_get_template( $post_type = 'post', $post_format = '' ) { |
| 224 | 224 | if ( ! empty( $post_format ) ) { |
| 225 | 225 | $template = get_option( 'auto_load_next_post_template_post_' . strtolower( $post_format ) ); |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | * @param string $post_type |
| 246 | 246 | * @param string $post_format |
| 247 | 247 | * @return array |
| 248 | - */ |
|
| 248 | + */ |
|
| 249 | 249 | function alnp_find_template( $location = '', $post_type, $post_format ) { |
| 250 | 250 | // Templates to look for based on the post that is loaded. |
| 251 | 251 | $templates = alnp_get_templates( $post_type, $post_format ); |