PluginProbe ʕ •ᴥ•ʔ
Custom Twitter Feeds – A Tweets Widget or X Feed Widget / 2.7.0
Custom Twitter Feeds – A Tweets Widget or X Feed Widget v2.7.0
2.8.0 2.7.0 2.6.1 2.6.0 1.0 1.0.1 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.2 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3 1.4 1.4.1 1.5 1.5.1 1.6 1.6.1 1.7 1.8 1.8.1 1.8.2 1.8.3 1.8.4 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1 2.1.1 2.1.2 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.5.4 2.5.5 trunk
custom-twitter-feeds / inc / UsageTracking / ReporterInterface.php
custom-twitter-feeds / inc / UsageTracking Last commit date
Core 1 month ago Twitter 1 month ago Config.php 1 month ago EventRecorder.php 1 month ago ReporterInterface.php 1 month ago SmashUsageTracking.php 1 month ago
ReporterInterface.php
49 lines
1 <?php
2 /**
3 * Usage Tracking Reporter Interface
4 *
5 * Implemented by plugin-specific reporters for the Smash Usage Tracking module.
6 *
7 * @package TwitterFeed\UsageTracking
8 * @since 2.6
9 */
10
11 namespace TwitterFeed\UsageTracking;
12
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 interface ReporterInterface {
18
19 /**
20 * Plugin identifier for payload root (e.g. 'twitter').
21 *
22 * @return string
23 */
24 public function get_plugin_slug();
25
26 /**
27 * Schema version for the report payload.
28 *
29 * @return string
30 */
31 public function get_schema_version();
32
33 /**
34 * Configuration snapshot (environment, settings, sources, feeds).
35 *
36 * @return array
37 */
38 public function get_configuration_snapshot();
39
40 /**
41 * Dynamic metrics for a time period (performance, errors, events).
42 *
43 * @param string $period_start Start of period (e.g. ISO 8601 or timestamp).
44 * @param string $period_end End of period (e.g. ISO 8601 or timestamp).
45 * @return array
46 */
47 public function get_dynamic_metrics( $period_start, $period_end );
48 }
49