PHP 인터페이스 Inpsyde\MultilingualPress\Common\Request

부터: 3.0.0
파일 보기 프로젝트 열기: inpsyde/multilingual-press 0 사용 예제들

공개 메소드들

메소드 설명
post_type ( ) : string Returns the (first) post type of the current request.
queried_object_id ( ) : integer Returns the ID of the queried object.
type ( ) : string Returns the type of the current request.

메소드 상세

post_type() 공개 메소드

Returns the (first) post type of the current request.
부터: 3.0.0
public post_type ( ) : string
리턴 string The (first) post type, or empty string if not applicable.

queried_object_id() 공개 메소드

For term archives, this is the term taxonomy ID (not the term ID).
부터: 3.0.0
public queried_object_id ( ) : integer
리턴 integer The ID of the queried object.

type() 공개 메소드

Returns the type of the current request.
부터: 3.0.0
public type ( ) : string
리턴 string Request type, or empty string on failure.