PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.0.0
Defender Security – Malware Scanner, Login Security & Firewall v6.0.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 / component / class-audit.php

class-audit.php in Defender Security – Malware Scanner, Login Security & Firewall 6.0.0, at src/component/class-audit.php

61 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Simple functionality.
4 *
5 * @package WP_Defender\Component
6 */
7
8 namespace WP_Defender\Component;
9
10 use WP_Defender\Component;
11
12 /**
13 * Simple methods.
14 */
15 class Audit extends Component {
16
17 public const AUDIT_LOG = 'audit.log';
18 public const CACHE_LAST_CHECKPOINT = 'wd_audit_fetch_checkpoint';
19
20 /**
21 * Dummy.
22 *
23 * @param int $date_from Start date for fetching logs.
24 * @param int $date_to End date for fetching logs.
25 * @param array $events Specific events to fetch.
26 * @param string $user_id User ID to filter logs.
27 * @param string $ip IP address to filter logs.
28 * @param int $paged Pagination page number.
29 * @param int $per_page Number of logs per page.
30 *
31 * @return array
32 */
33 public function fetch( $date_from, $date_to, $events = array(), $user_id = '', $ip = '', $paged = 1, $per_page = 10 ) {
34 return array();
35 }
36
37 /**
38 * Dummy.
39 */
40 public function flush() {
41 }
42
43 /**
44 * Dummy.
45 */
46 public function audit_clean_up_logs() {
47 }
48
49 /**
50 * Dummy.
51 */
52 public function enqueue_event_listener() {
53 }
54
55 /**
56 * Dummy.
57 */
58 public function log_audit_events() {
59 }
60 }
61