프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$post_type | string | The post type to register the type with. | |
$type | string | The type name. |
메소드 | 설명 | |
---|---|---|
edit_attachment ( array $form_fields, WP_Post $post ) : array | Add attachment fields. | |
get_post_type ( ) : string | Get post type. | |
save_attachment ( array $post ) : array | Save attachment post data. | |
singleton ( ) : boolean | Check if the entry type is a singleton. |
메소드 | 설명 | |
---|---|---|
setup_filters ( ) | Setup filters. |
public edit_attachment ( array $form_fields, WP_Post $post ) : array | ||
$form_fields | array | |
$post | WP_Post | |
리턴 | array |
public save_attachment ( array $post ) : array | ||
$post | array | |
리턴 | array |