coreactivity_event_logged_{$component}_{$event}
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
Definition
Arguments
Runs after a log entry has been stored successfully, for the specific component and event. The callback receives the log ID, data, metadata, and registered event object.
Fires in log() in core/log/Core.php. This hook is called at line 211 in the current plugin source.
The name contains dynamic components. Replace each placeholder with the value used at runtime; register the callback for the resulting hook name.
The placeholders are the logged event component and event code.
The call in the plugin source shows the argument order and the value supplied at this point.
do_action( 'coreactivity_event_logged_' . $event->component . '_' . $event->event, $id, $data, $meta, $event );