$files ] ); return; } if ( ! \Academy\Helper::is_active_academy_pro() ) { $note = __( 'Example files. Course attachments come with Academy Pro.', 'academy' ); } elseif ( ! \Academy\Helper::get_addon_active_status( 'multimedia-attachment' ) ) { $note = __( 'Example files. Turn on the Multimedia Attachment add-on to show the course’s own files.', 'academy' ); } else { $note = __( 'Example files. Add attachments to the course and enrolled students see them here.', 'academy' ); } $examples = [ [ __( 'Course workbook.pdf', 'academy' ), '2.4 MB' ], [ __( 'Starter files.zip', 'academy' ), '18.1 MB' ], [ __( 'Cheat sheet.png', 'academy' ), '640 KB' ], ]; ?>