json_encode( array( 'logs_cleared_by' => 'manually_cleared', 'blocked_spams' => $spam['spam_count'] ?? '', ) ), ); ( class_exists( 'OCPushStats' ) ? \OCPushStats::push_stats_performance_cache( 'delete', 'setting', 'logs', ONECOM_SP_PLUGIN_SLUG, $additional_info ) : '' ); $spam['records'] = array(); $spam['spam_count'] = 0; oc_save_sp_options( $spam, 'onecom_sp_spam_logs' ); $success_notice = '
' . __( 'Spam Logs cleared!', 'onecom-sp' ) . '
| URL | |||||
|---|---|---|---|---|---|
| $key | $ip | $user_name | $url | $detection |
' . __( 'Date & Time', 'onecom-sp' ) . '' . $key . '
'; $mobile_view .= '' . __( 'IP', 'onecom-sp' ) . '' . $ip . '
'; $mobile_view .= '' . __( 'Email', 'onecom-sp' ) . '' . $email . '
'; $mobile_view .= '' . __( 'Username', 'onecom-sp' ) . '' . $user_name . '
'; $mobile_view .= 'URL' . $url . '
'; $mobile_view .= '' . __( 'Reason', 'onecom-sp' ) . '' . $detection . '
'; } echo $mobile_view; ?>