| @@ -238,12 +238,12 @@ | ||
| 238 | 238 | * |
| 239 | 239 | * @deprecated 13.6 Moved to Classic Theme Helper package. |
| 240 | 240 | * @uses Featured_Content::get_setting() |
| 241 | 241 | * |
| 242 | - * @param array $terms A list of term objects. This is the return value of get_the_terms(). | |
| 243 | - * @param int $id The ID field for the post object that terms are associated with. | |
| 244 | - * @param array $taxonomy An array of taxonomy slugs. | |
| 245 | - * @return array $terms | |
| 242 | + * @param \WP_Term[]|\WP_Error $terms A list of term objects. This is the return value of get_the_terms(). | |
| 243 | + * @param int $id The ID field for the post object that terms are associated with. | |
| 244 | + * @param string $taxonomy The slug of the taxonomy. | |
| 245 | + * @return \WP_Term[]|\WP_Error $terms | |
| 246 | 246 | */ |
| 247 | 247 | public static function hide_the_featured_term( $terms, $id, $taxonomy ) { |
| 248 | 248 | _deprecated_function( __METHOD__, 'jetpack-13.6', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Featured_Content\\hide_the_featured_term' ); |
| 249 | 249 | |