Properties

$jetpack_comments

$jetpack_comments

The Jetpack Coments singleton

$default_greeting

$default_greeting : string

The default comment form greeting

Type

string

$color_schemes

$color_schemes : string

The default comment form color scheme

Type

string

Methods

init()

init()

__construct()

__construct(\Highlander_Comments_Base $jetpack_comments)

Parameters

\Highlander_Comments_Base $jetpack_comments

add_settings()

add_settings()

Add the Jetpack settings to WordPress's discussions page

comment_form_settings_section()

comment_form_settings_section()

Discussions setting section blurb

comment_form_greeting_setting()

comment_form_greeting_setting()

Custom Comment Greeting Text

comment_form_greeting_sanitize()

comment_form_greeting_sanitize(\type $val) : string

Sanitize the clever comment greeting

Parameters

\type $val

Returns

string

comment_form_color_scheme_setting()

comment_form_color_scheme_setting()

Color Scheme Setting

comment_form_color_scheme_sanitize()

comment_form_color_scheme_sanitize(\type $val) : string

Sanitize the color scheme

Parameters

\type $val

Returns

string

setup_globals()

setup_globals()

Set any global variables or class variables