You appear to be a bot. Output may be restricted
Description
Add rating links to the admin dashboard
Usage
edd_admin_rate_us( $footer_text );
Parameters
- $footer_text
- ( string ) required – The existing footer text
Returns
void string
Source
File name: easy-digital-downloads/includes/admin/admin-footer.php
Lines:
1 to 14 of 14
function edd_admin_rate_us( $footer_text ) { global $typenow; if ( $typenow == 'download' ) { $rate_text = sprintf( __( 'Thank you for using <a href="%1$s" target="_blank">Easy Digital Downloads</a>! Please <a href="%2$s" target="_blank">rate us on WordPress.org</a>', 'easy-digital-downloads' ), 'https://easydigitaldownloads.com', 'https://wordpress.org/support/plugin/easy-digital-downloads/reviews/?rate=5#new-post' ); return str_replace( '</span>', '', $footer_text ) . ' | ' . $rate_text . '</span>'; } else { return $footer_text; } }