PHP 클래스 Papi_Admin_Meta_Box, papi

파일 보기 프로젝트 열기: wp-papi/papi

보호된 프로퍼티들

프로퍼티 타입 설명
$box Papi_Core_Box The core box.

공개 메소드들

메소드 설명
__construct ( Papi_Core_Box $box ) The constructor.
meta_box_css_classes ( array $classes ) : string[] Add css classes to meta box.
move_meta_box_after_title ( ) Move meta boxes after title.
render_meta_box ( array $post, array $args ) Render the meta box
setup_meta_box ( ) Setup meta box.

보호된 메소드들

메소드 설명
get_post_type ( ) : string Get meta post type.
get_title ( ) : string Get meta box title.
setup_actions ( ) Setup action hooks.

메소드 상세

__construct() 공개 메소드

The constructor.
public __construct ( Papi_Core_Box $box )
$box Papi_Core_Box

get_post_type() 보호된 메소드

Get meta post type.
protected get_post_type ( ) : string
리턴 string

get_title() 보호된 메소드

Get meta box title.
protected get_title ( ) : string
리턴 string

meta_box_css_classes() 공개 메소드

Add css classes to meta box.
public meta_box_css_classes ( array $classes ) : string[]
$classes array
리턴 string[]

move_meta_box_after_title() 공개 메소드

Move meta boxes after title.

render_meta_box() 공개 메소드

Render the meta box
public render_meta_box ( array $post, array $args )
$post array
$args array

setup_actions() 보호된 메소드

Setup action hooks.
protected setup_actions ( )

setup_meta_box() 공개 메소드

Setup meta box.
public setup_meta_box ( )

프로퍼티 상세

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

The core box.
protected Papi_Core_Box $box
리턴 Papi_Core_Box