Created
February 5, 2021 13:38
-
-
Save wpmu-authors/d6eaace630c432e871f50b34fbb62b40 to your computer and use it in GitHub Desktop.
dismiss.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).on( 'click', '.my-acf-notice .notice-dismiss', function() { | |
jQuery.ajax({ | |
url: ajaxurl, | |
data: { | |
action: 'my_dismiss_acf_notice' | |
} | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment