Ninja Popups (v4.5.3) has an ajax endpoint snp_preview_popup, which, after setting up the $PREVIEW_POPUP_META variable, calls the snp_run_camp function, which in turn calls the snp_run_popup. The snp_run_popup uses the global $PREVIEW_POPUP_META variable to set up its…