bp_nouveau_send_invite_content_css( $mceInit )

Set the font in Send Invites TinyMCE editor to Arial

Description

Parameters

$user_id

(Required)

Source

File: bp-invites/bp-invites-functions.php

function bp_nouveau_send_invite_content_css( $mceInit ) {
	$styles = 'body.mce-content-body { font-family: Arial, sans-serif;}';
	if ( isset( $mceInit['content_style'] ) ) {
		$mceInit['content_style'] .= ' ' . $styles . ' ';
	} else {
		$mceInit['content_style'] = $styles . ' ';
	}
	return $mceInit;
}

Changelog

Changelog
Version Description
BuddyBoss 1.2.9 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.