Created
April 15, 2015 03:02
-
-
Save slushman/dafa494f9d76ce4252b5 to your computer and use it in GitHub Desktop.
How to Set WordPress Dashboard to Use One Column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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