LLMS_Admin_Review::admin_footer( string $text )
On LifterLMS admin screens replace the default footer text with a review request
Parameters Parameters
- $text
-
(string) (Required) Default footer text.
Return Return
(string)
Source Source
File: includes/admin/class-llms-admin-review.php
public function admin_footer( $text ) { global $current_screen; if ( ! empty( $current_screen->id ) && false !== strpos( $current_screen->id, 'lifterlms' ) ) { $url = 'https://wordpress.org/support/plugin/lifterlms/reviews/?filter=5#new-post'; $text = sprintf( wp_kses( /* Translators: %1$s = LifterLMS plugin name; %2$s = WP.org review link; %3$s = WP.org review link. */ __( 'Please rate %1$s <a href="%2$s" target="_blank" rel="noopener noreferrer">★★★★★</a> on <a href="%3$s" target="_blank" rel="noopener">WordPress.org</a> to help us spread the word. Thank you from the LifterLMS team!', 'lifterlms' ), array( 'a' => array( 'href' => array(), 'target' => array(), 'rel' => array(), ), ) ), '<strong>LifterLMS</strong>', $url, $url ); } return $text; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |