Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_hook('ClientAreaHeadOutput', 1, function($vars) {
- if ($_GET['ajaxOutput'] === '1') {
- echo json_encode ($content);
- exit;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement