PHP 클래스 Papi_Admin_Page_Type_Switcher, papi

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

공개 메소드들

메소드 설명
__construct ( ) The construct.
admin_init ( ) Admin init hook callback.
metabox ( ) Render metabox.
save_post ( integer $post_id, WP_post $post ) : boolean Switch page type if all checks pass.

메소드 상세

__construct() 공개 메소드

The construct.
public __construct ( )

admin_init() 공개 메소드

Admin init hook callback.
public admin_init ( )

metabox() 공개 메소드

Render metabox.
public metabox ( )

save_post() 공개 메소드

Switch page type if all checks pass.
public save_post ( integer $post_id, WP_post $post ) : boolean
$post_id integer
$post WP_post
리턴 boolean