Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Papi_Page_Type
has_post_type
Papi_Page_Type::has_post_type PHP 메소드
Papi_Page_Type 1 문서
파일 보기
프로젝트 열기: wp-papi/papi
has_post_type()
공개
메소드
Check if the given post is allowed to use the page type.
public
has_post_type
(
string
$post_type
) :
boolean
$post_type
string
리턴
boolean
public function has_post_type($post_type) { return in_array($post_type, $this->post_type, true); }
Papi_Page_Type
__construct
allowed
display
get_body_classes
get_child_types
get_labels
get_post_type
get_post_type_supports
get_thumbnail
has_post_type
remove_meta_boxes
remove_post_type_support
setup
setup_post_types