Process additional background actions from an Ajax action in the persistent notice system.
Source
PHP
do_action(“wpgmza_admin_notice_process_background_action”, $relayAction);
Arguments
- $relayAction : The action name passed with the request (string)
Files
- includes/class.admin-notices.php
There is no need to send a response as part of your processing, the AdminNotices class will handle this internally after calling this hook. You could do so, to change the output if needed.
