eng
fr
Language:
jQuery(document).ready(function($) { /** * Process request to dismiss our admin notice */ $('#jetpack-notice .notice-dismiss').click(function() { //* Data to make available via the $_POST variable data = { action: 'wellness_jetpack_admin_notice', wellness_jetpack_admin_nonce: wellness_jetpack_admin.wellness_jetpack_admin_nonce }; //* Process the AJAX POST request $.post( ajaxurl, data ); return false; }); });