PHP 클래스 Papi_Admin, papi

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

보호된 프로퍼티들

프로퍼티 타입 설명
$entry_type Papi_Entry_Type The entry type.
$meta_type string The post type.

공개 메소드들

메소드 설명
__clone ( ) Cloning is forbidden.
__construct ( ) The construct.
__wakeup ( ) Unserializing instances of this class is forbidden.
admin_body_class ( string $classes ) : string Add custom body class when it's a page type.
admin_init ( ) Preboot all types and setup the current type if any.
edit_form_after_title ( ) Output Papi page type hidden field.
plugin_row_meta ( array $links, string $file ) : array Add docs links to plugin row meta.
wp_link_query ( array $results ) : array Filter the link query results.
wp_refresh_nonces ( array $response ) : array Check nonce expiration on the New/Edit Post screen and refresh if needed.

보호된 메소드들

메소드 설명
get_entry_type ( ) : Papi_Entry_Type | false Get Entry Type instance.
load_files ( ) Load admin files that are not loaded by the autoload.
setup_actions ( ) Setup actions.
setup_filters ( ) Setup filters.

메소드 상세

__clone() 공개 메소드

Cloning is forbidden.
public __clone ( )

__construct() 공개 메소드

The construct.
public __construct ( )

__wakeup() 공개 메소드

Unserializing instances of this class is forbidden.
public __wakeup ( )

admin_body_class() 공개 메소드

Add custom body class when it's a page type.
public admin_body_class ( string $classes ) : string
$classes string
리턴 string

admin_init() 공개 메소드

Preboot all types and setup the current type if any.
public admin_init ( )

edit_form_after_title() 공개 메소드

Output Papi page type hidden field.

get_entry_type() 보호된 메소드

Get Entry Type instance.
protected get_entry_type ( ) : Papi_Entry_Type | false
리턴 Papi_Entry_Type | false

load_files() 보호된 메소드

Load admin files that are not loaded by the autoload.
protected load_files ( )

plugin_row_meta() 공개 메소드

Add docs links to plugin row meta.
public plugin_row_meta ( array $links, string $file ) : array
$links array
$file string
리턴 array

setup_actions() 보호된 메소드

Setup actions.
protected setup_actions ( )

setup_filters() 보호된 메소드

Setup filters.
protected setup_filters ( )

wp_refresh_nonces() 공개 메소드

Check nonce expiration on the New/Edit Post screen and refresh if needed.
public wp_refresh_nonces ( array $response ) : array
$response array
리턴 array

프로퍼티 상세

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

The entry type.
protected Papi_Entry_Type $entry_type
리턴 Papi_Entry_Type

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

The post type.
protected string $meta_type
리턴 string