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' ); |
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
/** | |
* Adds the datepicker settings to the admin footer. | |
* Only loads on the plugin-name settings page | |
*/ | |
function admin_footer() { | |
$screen = get_current_screen(); | |
if ( $screen->id == 'settings_page_plugin-name' ) { |
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
/** | |
* Basic shortcode | |
*/ | |
[simplemap] | |
/** | |
* Hide the search result list | |
* | |
* @param bool true: hide the list | |
* false: show the list, this is the default |
NewerOlder