LLMS_Quiz_Attempt::get_permalink()
Retrieve a permalink for the attempt
Return Return
(string)
Source Source
File: includes/models/model.llms.quiz.attempt.php
public function get_permalink() { if ( ! $this->get_quiz() ) { return ''; } return add_query_arg( 'attempt_key', $this->get_key(), get_permalink( $this->get_quiz()->get( 'id' ) ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |