includes/class-llms-block-library.php
Method modify_editor_settings
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
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 ) ) {