@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * The list is in the order to look for the templates that store the content. |
97 | 97 | * |
98 | 98 | * @since 1.6.0 |
99 | - * @return array |
|
99 | + * @return string[] |
|
100 | 100 | */ |
101 | 101 | function alnp_get_locations() { |
102 | 102 | return array( |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * @since 1.6.0 |
123 | 123 | * @param string $post_type |
124 | 124 | * @param string $post_format |
125 | - * @return array |
|
125 | + * @return string[] |
|
126 | 126 | */ |
127 | 127 | function alnp_get_templates( $post_type = 'post', $post_format = '' ) { |
128 | 128 | $get_standard = array( |
@@ -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 ); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * @access public |
36 | 36 | * @static |
37 | 37 | * @since 1.0 |
38 | - * @param array $plugin Plugin data |
|
38 | + * @param array $plugins Plugin data |
|
39 | 39 | */ |
40 | 40 | public static function init( $plugins ) { |
41 | 41 | ?> |