print_column_headers

函式
print_column_headers ( $screen, $with_id = true )
引數
  • (string|WP_Screen) $screen The screen hook name or screen object.
    Required:
  • (bool) $with_id Whether to set the ID attribute or not.
    Required:
    Default: true
定義位置
相關方法
get_column_headersregister_column_headerswp_admin_headersget_custom_headerrest_send_cors_headers
引入
2.7.0
棄用
-

print_column_headers: 這個動作用來列印WordPress管理區的列標題。

為一個特定的螢幕列印欄目頭。

function print_column_headers( $screen, $with_id = true ) {
	$wp_list_table = new _WP_List_Table_Compat( $screen );

	$wp_list_table->print_column_headers( $with_id );
}

常見問題

FAQs
檢視更多 >