PHP 클래스 WPDiscourse\Templates\HTMLTemplates

파일 보기 프로젝트 열기: discourse/wp-discourse 1 사용 예제들

공개 메소드들

메소드 설명
bad_response_html ( ) : mixed | void The template that is displayed in the comments section after a post is created with bad credentials.
comment_html ( ) : mixed | void HTML template for each comment
no_replies_html ( ) : mixed | void HTML template for no replies.
participant_html ( ) : mixed | void HTML template for each participant
publish_format_html ( ) : mixed | void HTML template for published byline
replies_html ( ) : mixed | void HTML template for replies.

메소드 상세

bad_response_html() 공개 정적인 메소드

This template is displayed in the comments section when there is no discourse_permalink index in the response returned from Discourse::sync_to_discourse_work Can be customized in the theme using the filter provided.
public static bad_response_html ( ) : mixed | void
리턴 mixed | void

comment_html() 공개 정적인 메소드

Can be customized from within a theme using the filter provided. Available tags: {discourse_url}, {discourse_url_name}, {topic_url}, {avatar_url}, {user_url}, {username}, {fullname}, {comment_body}, {comment_created_at}, {comment_url}
public static comment_html ( ) : mixed | void
리턴 mixed | void

no_replies_html() 공개 정적인 메소드

Can be customized from within a theme using the filter provided. Available tags: {comments}, {discourse_url}, {discourse_url_name}, {topic_url}
public static no_replies_html ( ) : mixed | void
리턴 mixed | void

participant_html() 공개 정적인 메소드

Can be customized from within a theme using the filter provided. Available tags: {discourse_url}, {discourse_url_name}, {topic_url}, {avatar_url}, {user_url}, {username}
public static participant_html ( ) : mixed | void
리턴 mixed | void

publish_format_html() 공개 정적인 메소드

Can be customized from within a theme using the filter provided. Available tags: {excerpt}, {blogurl}, {author}, {thumbnail}, {featuredimage}
public static publish_format_html ( ) : mixed | void
리턴 mixed | void

replies_html() 공개 정적인 메소드

Can be customized from within a theme using the filter provided. Available tags: {comments}, {discourse_url}, {discourse_url_name}, {topic_url}, {more_replies}, {participants}
public static replies_html ( ) : mixed | void
리턴 mixed | void