coreactivity_skip_log
Developer Knowledge Level
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
apply_filters( "coreactivity_skip_log", false, $event_id, $event, $data, $meta );
Arguments
Name
Type
Description
false
bool
return TRUE to skip logging of the event
$event_id
int
ID of the event that will be logged
$event
object
event object with all the event information
$data
array
main data array to log about the event
$meta
array
additional data array to log about the event
Returns
Return the filtered value.
Return true to skip recording this event. Other values do not cause this check to skip it. The filter runs before the event data is prepared for storage.
Filters a value in log() in core/log/Core.php. This hook is called at line 145 in the current plugin source.
The call in the plugin source shows the argument order and the value supplied at this point.
apply_filters( 'coreactivity_skip_log', false, $event_id, $event, $data, $meta );