PHP 클래스 Message_Board_Admin_Edit_Replies

파일 보기 프로젝트 열기: justintadlock/message-board 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) : void Sets up needed actions/filters for the admin to initialize.
admin_notices ( ) : void Displays admin notices for the edit forum screen.
bulk_actions ( array $actions ) : array Customize the bulk actions drop-down.
display_post_states ( array $post_states, object $post ) Filter for the post_states hook. We're going to replace any defaults and roll our own.
edit_columns ( array $post_columns ) : array Customize the columns on the edit post screen.
get_instance ( ) : object Returns the instance.
handler ( ) : void Callback function for handling post status changes.
load_edit ( ) : void Adds a custom filter on 'request' when viewing the edit menu items screen in the admin.
manage_columns ( string $column, integer $post_id ) Handles the output for custom columns.
manage_sortable_columns ( array $columns ) : array Customize the sortable columns.
print_styles ( ) : void Enqueue the plugin admin CSS.
request ( array $vars ) : array Filter on the request hook to change what posts are loaded.
row_actions ( array $actions, object $post ) : array Custom row actions below the post title.

메소드 상세

__construct() 공개 메소드

Sets up needed actions/filters for the admin to initialize.
부터: 1.0.0
public __construct ( ) : void
리턴 void

admin_notices() 공개 메소드

Displays admin notices for the edit forum screen.
부터: 1.0.0
public admin_notices ( ) : void
리턴 void

bulk_actions() 공개 메소드

Customize the bulk actions drop-down.
부터: 1.0.0
public bulk_actions ( array $actions ) : array
$actions array
리턴 array

display_post_states() 공개 메소드

Filter for the post_states hook. We're going to replace any defaults and roll our own.
부터: 1.0.0
public display_post_states ( array $post_states, object $post )
$post_states array
$post object

edit_columns() 공개 메소드

Customize the columns on the edit post screen.
부터: 1.0.0
public edit_columns ( array $post_columns ) : array
$post_columns array
리턴 array

get_instance() 공개 정적인 메소드

Returns the instance.
부터: 1.0.0
public static get_instance ( ) : object
리턴 object

handler() 공개 메소드

Callback function for handling post status changes.
부터: 1.0.0
public handler ( ) : void
리턴 void

load_edit() 공개 메소드

Adds a custom filter on 'request' when viewing the edit menu items screen in the admin.
부터: 1.0.0
public load_edit ( ) : void
리턴 void

manage_columns() 공개 메소드

Handles the output for custom columns.
부터: 1.0.0
public manage_columns ( string $column, integer $post_id )
$column string
$post_id integer

manage_sortable_columns() 공개 메소드

Customize the sortable columns.
부터: 1.0.0
public manage_sortable_columns ( array $columns ) : array
$columns array
리턴 array

print_styles() 공개 메소드

Enqueue the plugin admin CSS.
부터: 1.0.0
public print_styles ( ) : void
리턴 void

request() 공개 메소드

Filter on the request hook to change what posts are loaded.
부터: 1.0.0
public request ( array $vars ) : array
$vars array
리턴 array

row_actions() 공개 메소드

Custom row actions below the post title.
부터: 1.0.0
public row_actions ( array $actions, object $post ) : array
$actions array
$post object
리턴 array