LLMS_Add_On::get_permalink()
Retrieve a utm’d link to the add-on
Description Description
Return Return
(string)
Source Source
File: includes/models/model.llms.add-on.php
public function get_permalink() { $url = add_query_arg( array( 'utm_source' => urlencode( 'LifterLMS Plugin' ), 'utm_campaign' => urlencode( 'Plugin to Sale' ), 'utm_medium' => urlencode( 'Add-Ons Screen' ), 'utm_content' => urlencode( sprintf( '%1$s Ad %2$s', $this->get( 'title' ), LLMS_VERSION ) ), ), $this->get( 'permalink' ) ); return $url; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.22.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: