Created
February 9, 2021 06:40
-
-
Save wpmu-authors/51487ef02492b4a8c4f476684d7d51ee to your computer and use it in GitHub Desktop.
ajaxhandler.php
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
add_action( 'wp_ajax_my_dismiss_acf_notice', 'my_dismiss_acf_notice' ); | |
function my_dismiss_acf_notice() { | |
update_option( 'my-acf-notice-dismissed', 1 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment