Im使用以下代码在posts菜单的后端创建自定义列。
add_filter(\'manage_edit-post_columns\', \'post_edit_columns\');
function post_edit_columns( $columns )
{
$columns = array(
\'cb\' => \'<input type="checkbox" />\',
\'title\' => \'Module Title\',
\'categories\' => \'Section\',
\'menu_order\' => \'Order\',
\'unlock\' => \'Unlock\',
\'date\' => \'Date\'
);
return $columns;
}
The
title
列输出ASC/DESC链接。如何将此订购链接添加到其他列?