@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | ], |
17 | 17 | ]); |
18 | 18 | |
19 | -add_filter('post_thumbnail_html', function ($html, $post_id, $post_thumbnail_id, $size, $attr) { |
|
19 | +add_filter('post_thumbnail_html', function($html, $post_id, $post_thumbnail_id, $size, $attr) { |
|
20 | 20 | |
21 | 21 | $fallbackFeaturedImageOptions = Options::getGlobal('FeaturedImageFallback'); |
22 | 22 | $fallbackFeaturedImage = $fallbackFeaturedImageOptions['image']; |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | return $html; |
41 | 41 | }, 5); |
42 | 42 | |
43 | -add_filter('get_post_metadata', function ($null, $object_id, $meta_key, $single) { |
|
43 | +add_filter('get_post_metadata', function($null, $object_id, $meta_key, $single) { |
|
44 | 44 | // Only affect thumbnails on the frontend, do allow ajax calls. |
45 | 45 | if ((is_admin() && (!defined('DOING_AJAX') || !DOING_AJAX))) { |
46 | 46 | return $null; |