PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.2.0
Defender Security – Malware Scanner, Login Security & Firewall v6.2.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
defender-security / src / model / notification / class-audit-report.php

class-audit-report.php in Defender Security – Malware Scanner, Login Security & Firewall 6.2.0, at src/model/notification/class-audit-report.php

65 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Audit Report notification model.
4 *
5 * @package WP_Defender\Model\Notification
6 */
7
8 namespace WP_Defender\Model\Notification;
9
10 /**
11 * Audit Report notification model.
12 */
13 class Audit_Report extends Free_Report {
14
15 /**
16 * Table name.
17 *
18 * @var string
19 */
20 protected $table = 'wd_audit_report';
21
22 /**
23 * Slug identifier for the audit report.
24 *
25 * @var string
26 */
27 public const SLUG = 'audit-report';
28
29 /**
30 * Sets default values.
31 */
32 protected function before_load(): void {
33 $this->import(
34 array_merge(
35 $this->base_defaults(),
36 array(
37 'slug' => self::SLUG,
38 'title' => esc_html__( 'Audit Logging - Reporting', 'defender-security' ),
39 'description' => esc_html__(
40 'Schedule Defender to automatically email you a summary of all your website events.',
41 'defender-security'
42 ),
43 )
44 )
45 );
46 }
47
48 /**
49 * Define labels.
50 *
51 * @return array
52 */
53 public function labels(): array {
54 return array(
55 'report' => esc_html__( 'Audit Logging - Reporting', 'defender-security' ),
56 'subscribers' => esc_html__( 'Recipients', 'defender-security' ),
57 'day' => esc_html__( 'Day of', 'defender-security' ),
58 'day_n' => esc_html__( 'Day of', 'defender-security' ),
59 'time' => esc_html__( 'Time of day', 'defender-security' ),
60 'frequency' => esc_html__( 'Frequency', 'defender-security' ),
61 );
62 }
63
64 }
65