LLMS_Admin_Review::dismiss()
AJAX callback for dismissing the notice
Return Return
(void)
Source Source
File: includes/admin/class-llms-admin-review.php
if ( ! empty( $show_footer ) ) {
$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 class="llms-rating-stars" 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(
'class' => array(),
'href' => array(),
'target' => array(),
'rel' => array(),
),
)
),
'<strong>LifterLMS</strong>',
$url,
$url
);
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.9.0 | Stop using deprecated FILTER_SANITIZE_STRING. |
| 4.14.0 | Only users with manager_lifterlms caps can dismiss and added nonce verification. Use llms_filter_input() in favor of filter_input(). |
| 3.24.0 | Introduced. |