This filter is used to enable updating the nonce via an AJAX request.
Changelog
Aadded starting from 7.6.46 version
Parameters
- $isUpdateNonceWithAjax - enable/disable nonce updates in AJAX requests.
- $currentUser - the object of the current user
Usage
add_filter('wpdiscuz_is_update_nonce_with_ajax', '__return_true');