LLMS_Notification_View_Quiz_Graded::set_footer()
Setup footer content for output
Return Return
(string)
Source Source
File: includes/notifications/views/class.llms.notification.view.quiz.graded.php
protected function set_footer() { $attempt = new LLMS_Quiz_Attempt( $this->notification->get( 'post_id' ) ); if ( ! $attempt->exists() ) { return ''; } $permalink = $attempt->get_permalink(); if ( ! $permalink ) { return ''; } return '<a href="' . esc_url( $permalink ) . '">' . __( 'View the attempt', 'lifterlms' ) . '</a>'; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.29.0 | Unknown. |
3.24.0 | Introduced. |