Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
How to Set WordPress Dashboard to Use One Column
function screen_layout_columns( $columns ) {
$columns['dashboard'] = 1;
return $columns;
}
add_filter( 'screen_layout_columns', 'screen_layout_columns' );
function screen_layout_dashboard() {
return 1;
}
add_filter( 'get_user_option_screen_layout_dashboard', 'screen_layout_dashboard' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment