diff options
Diffstat (limited to 'postman-smtp.php')
-rw-r--r-- | postman-smtp.php | 5 |
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 * |