프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
public admin_body_class ( string $classes ) : string | ||
$classes | string | |
리턴 | string |
protected get_entry_type ( ) : Papi_Entry_Type | false | ||
리턴 | Papi_Entry_Type | false |
public wp_link_query ( array $results ) : array | ||
$results | array | |
리턴 | array |
public wp_refresh_nonces ( array $response ) : array | ||
$response | array | |
리턴 | array |