geminilabs

Untitled

Dec 1st, 2025 (edited)
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. add_action('site-reviews/route/get/public/verify', function ($request) {
  2.  
  3.     $themeId = 13; // <- change this to your desired theme ID
  4.  
  5.     $path = $request['data'][1] ?? null;
  6.     if (null !== $path && !str_contains($path, "theme={$themeId}")) {
  7.         $path = add_query_arg('theme', $themeId, $path);
  8.         $request->set('data.1', $path);
  9.     }
  10. }, 5);
Advertisement
Add Comment
Please, Sign In to add comment