summaryrefslogtreecommitdiff
path: root/postman-smtp.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-09-13 11:29:33 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-09-13 11:29:33 +0000
commitcaa73945f9fe69875171ea2aade2c53e60b21bbe (patch)
treedbcc35d42a519d3796c82c3942891226a425c2e7 /postman-smtp.php
parent5f134fb5839bf3e161385727c2a2009b54444878 (diff)
downloadPost-SMTP-caa73945f9fe69875171ea2aade2c53e60b21bbe.zip
hooks + sanitize bug
Diffstat (limited to 'postman-smtp.php')
-rw-r--r--postman-smtp.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/postman-smtp.php b/postman-smtp.php
index 07454ed..80dc8da 100644
--- a/postman-smtp.php
+++ b/postman-smtp.php
@@ -116,6 +116,11 @@ function post_dismiss_not_configured() {
}
add_action( 'admin_footer', 'post_dismiss_not_configured' );
+function post_smtp_general_scripts() {
+ wp_enqueue_script( 'post-smtp-hooks', POST_SMTP_URL . '/script/post-smtp-hooks.js', [], false );
+}
+add_action( 'admin_enqueue_scripts', 'post_smtp_general_scripts', 8 );
+
/**
* Create the main Postman class to start Postman
*