Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Notification_View_Certificate_Earned::get_mini_html( $title, $content )
Description Description
Source Source
File: includes/notifications/views/class.llms.notification.view.certificate.earned.php
private function get_mini_html( $title, $content ) { $attrs = array( 'class' => array(), 'id' => array(), 'style' => array(), ); $allowed = array( 'h1' => $attrs, 'h2' => $attrs, 'h3' => $attrs, 'h4' => $attrs, 'h5' => $attrs, 'h6' => $attrs, 'p' => $attrs, 'ul' => $attrs, 'ol' => $attrs, 'li' => $attrs, 'strong' => $attrs, 'em' => $attrs, 'i' => $attrs, 'b' => $attrs, ); ob_start(); ?> <div class="llms-mini-cert"> <h2 class="llms-mini-cert-title"><?php echo $title; ?></h2> <?php echo wp_kses( $content, $allowed ); ?> </div> <?php return ob_get_clean(); }
Expand full source code Collapse full source code View on GitHub
User Contributed Notes User Contributed Notes
Permalink: