| @@ -63,8 +63,11 @@ | ||
| 63 | 63 | |
| 64 | 64 | // Initialize review and enquiry hooks |
| 65 | 65 | \Yatra\Hooks\ReviewHooks::init(); |
| 66 | 66 | |
| 67 | + // Load the reCAPTCHA v3 script on the frontend when enabled (self-guards). | |
| 68 | + add_action('wp_enqueue_scripts', ['\\Yatra\\Services\\RecaptchaService', 'enqueueScript']); | |
| 69 | + | |
| 67 | 70 | // Garbage-collect deleted-trip IDs out of user wishlist meta. |
| 68 | 71 | \Yatra\Hooks\SavedTripHooks::init(); |
| 69 | 72 | |
| 70 | 73 | // Initialize REST API hooks |