PHP 클래스 Papi_Property_Editor, papi

상속: extends Papi_Property
파일 보기 프로젝트 열기: wp-papi/papi

공개 메소드들

메소드 설명
format_value ( mixed $value, string $slug, integer $post_id ) : array Format the value of the property before it's returned to WordPress admin or the site.
get_default_settings ( ) : array Get default settings.
html ( ) Render property html.
mce_buttons ( array $buttons = [] ) : array Filter TinyMCE buttons (Visual tab).

보호된 메소드들

메소드 설명
add_mce_buttons ( ) Add filters to filter TinyMCE buttons.
reove_mce_buttons ( ) Remove filters that filter TinyMCE buttons.

메소드 상세

add_mce_buttons() 보호된 메소드

Add filters to filter TinyMCE buttons.
protected add_mce_buttons ( )

format_value() 공개 메소드

Format the value of the property before it's returned to WordPress admin or the site.
public format_value ( mixed $value, string $slug, integer $post_id ) : array
$value mixed
$slug string
$post_id integer
리턴 array

get_default_settings() 공개 메소드

Get default settings.
public get_default_settings ( ) : array
리턴 array

html() 공개 메소드

Render property html.
public html ( )

mce_buttons() 공개 메소드

Filter TinyMCE buttons (Visual tab).
public mce_buttons ( array $buttons = [] ) : array
$buttons array
리턴 array

reove_mce_buttons() 보호된 메소드

Remove filters that filter TinyMCE buttons.
protected reove_mce_buttons ( )