includes/admin/class.llms.admin.notices.core.php
Method gateways
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function gateways() {
$id = 'no-gateways';
if ( ! apply_filters( 'llms_admin_notice_no_payment_gateways', llms()->payment_gateways()->has_gateways( true ) ) ) {
$html = __( 'No LifterLMS Payment Gateways are currently enabled. Students will only be able to enroll in courses or memberships with free access plans.', 'lifterlms' ) . '<br><br>';
Method media_protection
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function media_protection() {
$id = 'using-nginx';
if (
apply_filters(
'llms_admin_notice_using_nginx',