gocodebox/lifterlms

View on GitHub
includes/class-llms-block-library.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method modify_editor_settings has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function modify_editor_settings( $settings, $context ) {

        // Only load fonts when in post editor context for a certificate post type.
        if ( ! empty( $context->post ) && in_array( $context->post->post_type, array( 'llms_certificate', 'llms_my_certificate' ), true ) ) {

Severity: Minor
Found in includes/class-llms-block-library.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status