PHP 클래스 RWMB_Thickbox_Image_Field

상속: extends RWMB_Image_Field
파일 보기 프로젝트 열기: rilwis/meta-box

공개 메소드들

메소드 설명
add_actions ( ) Add custom actions for the field.
admin_enqueue_scripts ( ) Enqueue scripts and styles
allow_img_insertion ( array $vars ) : array Always enable insert to post button in the popup
html ( mixed $meta, array $field ) : string Get field HTML
value ( array $new, array $old, integer $post_id, array $field ) : array Get field value It's the combination of new (uploaded) images and saved images

메소드 상세

add_actions() 공개 정적인 메소드

Add custom actions for the field.
public static add_actions ( )

admin_enqueue_scripts() 공개 정적인 메소드

Enqueue scripts and styles
public static admin_enqueue_scripts ( )

allow_img_insertion() 공개 정적인 메소드

Always enable insert to post button in the popup
public static allow_img_insertion ( array $vars ) : array
$vars array
리턴 array

html() 공개 정적인 메소드

Get field HTML
public static html ( mixed $meta, array $field ) : string
$meta mixed
$field array
리턴 string

value() 공개 정적인 메소드

Get field value It's the combination of new (uploaded) images and saved images
public static value ( array $new, array $old, integer $post_id, array $field ) : array
$new array
$old array
$post_id integer
$field array
리턴 array