PHP 클래스 MC4WP_Comment_Form_Integration

상속: extends MC4WP_Integration
파일 보기 프로젝트 열기: dannyvankooten/mailchimp-for-wordpress

공개 프로퍼티들

프로퍼티 타입 설명
$description string
$name string

보호된 프로퍼티들

프로퍼티 타입 설명
$added_through_filter boolean

공개 메소드들

메소드 설명
add_checkbox_before_submit_button ( $submit_button_html ) : string This adds the checkbox just before the submit button and sets a flag to prevent it from outputting twice
add_hooks ( ) Add hooks
get_object_link ( $object_id ) {@inheritdoc }
is_installed ( ) : boolean
maybe_output_checkbox ( ) Output fallback Will output the checkbox if comment_form() function does not use comment_form_submit_field filter yet.
subscribe_from_comment ( integer $comment_id, string $comment_approved = '' ) : boolean | string Grabs data from WP Comment Form

메소드 상세

add_checkbox_before_submit_button() 공개 메소드

This adds the checkbox just before the submit button and sets a flag to prevent it from outputting twice
public add_checkbox_before_submit_button ( $submit_button_html ) : string
$submit_button_html
리턴 string

add_hooks() 공개 메소드

Add hooks
public add_hooks ( )

is_installed() 공개 메소드

public is_installed ( ) : boolean
리턴 boolean

maybe_output_checkbox() 공개 메소드

Output fallback Will output the checkbox if comment_form() function does not use comment_form_submit_field filter yet.

subscribe_from_comment() 공개 메소드

Grabs data from WP Comment Form
public subscribe_from_comment ( integer $comment_id, string $comment_approved = '' ) : boolean | string
$comment_id integer
$comment_approved string
리턴 boolean | string

프로퍼티 상세

$added_through_filter 보호되어 있는 프로퍼티

protected bool $added_through_filter
리턴 boolean

$description 공개적으로 프로퍼티

public string $description
리턴 string

$name 공개적으로 프로퍼티

public string $name
리턴 string