public static function course_product_images_meta($value, $post_id, $meta_key, $single)
 {
     if ('mp_product_images' === $meta_key && !self::$looping) {
         // Avoid looping, because we're calling this meta again.
         self::$looping = true;
         $product_images = get_post_meta($post_id, $meta_key, $single);
         if (empty($product_images)) {
             $course_id = !empty($post_id) ? get_post_meta($post_id, 'course_id', true) : 0;
             $featured_url = !empty($course_id) ? get_post_meta($course_id, 'featured_url', true) : '';
             $admin_edit = isset($_GET['action']) && 'edit' === $_GET['action'];
             $value = !empty($featured_url) && !$admin_edit ? $featured_url : $value;
         }
         // No longer looping
         self::$looping = false;
     }
     return $value;
 }