Tracker
Tracker Class.
Namespace: WebberZone\WFP
Since: 3.1.0
Source: includes/class-tracker.php line 23
Methods
__construct()
Constructor class.
Since: 3.1.0
Line: 30
public function __construct( );
tracker_parser() static
Parses the Ajax response.
Since: 2.0.0
Line: 41
static public function tracker_parser( );
process_tracking() static
Process tracking data.
Since: 3.2.0
Line: 68
static public function process_tracking( $id, $sitevar ): string;
| Type | Name | Description |
|---|---|---|
int | $id | Current post ID. |
string | $sitevar | Referrer URL. |
Returns: string — Result message.
enqueue_scripts() static
Enqueues the scripts.
Since: 1.7
Line: 125
static public function enqueue_scripts( ): void;
Returns: void
get_referer() static
Get the referer.
Since: 2.2.0
Line: 223
static public function get_referer( ): string;
Returns: string — WZ Followed Posts referer.