diff --git a/inc/api.php b/inc/api.php index aff60f4..c79fbfc 100644 --- a/inc/api.php +++ b/inc/api.php @@ -112,5 +112,15 @@ function cwv3_get_js_dialog() { $cwv3_title, + 'message' => $cwv3_message, + 'enter_url' => $enter_url, + 'exit_url' => $exit_url, + 'enter_text' => $enter_text, + 'exit_text' => $exit_text, + 'denial_title' => $cwv3_denial_title, + 'denial_message' => $cwv3_denial_message, + ); + return apply_filters( 'cwv3_js_dialog_output', $dialog_output, $params ); }