Image Attributes Pro keeps a log of the bulk updater activity by writing into a log file.
The default location of this file is in \wp-content\uploads\iap-logs\iap-bu-log.log. Log from this file will be displayed in the Event Log in the Bulk Updater tab of Image Attributes Pro.
Event logging can be disabled by setting the filter iaffpro_disable_event_logging to true. The default value is set to false.
/**
* Check if event logging is disabled.
*
* @since 4.7
*
* @param (bool) Set as true to disable event log file generation. Default to false.
*/
if ( apply_filters( 'iaffpro_disable_event_logging', false ) ) {
return false;
}
Available since Image Attributes Pro version 4.7.
Example Usage
To disable event logging and generation of log file, add this line to the functions.php of your active theme.
/**
* Disable event log file generation in Image Attributes Pro.
*
* @link https://imageattributespro.com/codex/iaffpro_disable_event_logging/
*
* @return (bool) true.
*/
add_filter( 'iaffpro_disable_event_logging', '__return_true' );
Was this article helpful?
Yes, thanks! 👍Not really 👎