Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('site-reviews/route/get/public/verify', function ($request) {
- $themeId = 13; // <- change this to your desired theme ID
- $path = $request['data'][1] ?? null;
- if (null !== $path && !str_contains($path, "theme={$themeId}")) {
- $path = add_query_arg('theme', $themeId, $path);
- $request->set('data.1', $path);
- }
- }, 5);
Advertisement
Add Comment
Please, Sign In to add comment