Return to Snippet

Revision: 56059
at March 7, 2012 14:54 by shufflepath


Initial Code
function single_screen_columns( $columns ) {
    $columns['dashboard'] = 1;
    return $columns;
}
add_filter( 'screen_layout_columns', 'single_screen_columns' );
function single_screen_dashboard(){return 1;}
add_filter( 'get_user_option_screen_layout_dashboard', 'single_screen_dashboard' );

Initial URL

                                

Initial Description

                                

Initial Title
Display dashboard in a single column only

Initial Tags
php, wordpress

Initial Language
PHP