html->pointer()
*
* @since 1.0.0
*
* Variables:
* - $pointer_id
* - $html_el
* - $title
* - $body
* - $once
* - $modal
* - $blur
*/
$class = 'wpmui-pointer prepared';
if ( ! empty( $title ) ) {
$title = '
' . $title . '
';
} else {
$title = '';
$class .= ' no-title';
}
$code = sprintf(
'',
$title,
$body,
esc_attr( $class )
);
// Remove linebreaks to avoid JS errors
$code = str_replace( array("\r", "\n"), '', $code );
?>