'ID'),array_slice($columns, 1, count($columns))); return $columns; } function wp_insert_posts_columns_row($columnTitle, $postID){ if($columnTitle == 'postID'){ echo $postID; } } function wp_insert_editor_style($url) { if (!empty($url)) $url .= ','; $url .= trailingslashit(get_stylesheet_directory_uri()).'style.css'; return $url; } function wp_insert_miscellaneous_pages() { global $screen_layout_columns; add_meta_box('wp_insert_miscellaneous_core_update_notification', 'Hide Core Update Notification', 'wp_insert_miscellaneous_core_update_notification_HTML', 'col_1'); add_meta_box('wp_insert_hide_default_widgets', 'Hide Default Widgets', 'wp_insert_hide_default_widgets_HTML', 'col_1'); add_meta_box('wp_insert_show_id', 'Show ID in Post & Page Listing', 'wp_insert_show_id_HTML', 'col_1'); add_meta_box('wp_insert_load_theme_styles', 'Load theme styles in Visual Editor', 'wp_insert_load_theme_styles_HTML', 'col_1'); $parameters = 'wp_insert_hide_core_update_notification_enable, wp_insert_hide_default_widgets_enable, wp_insert_show_id_enable, wp_insert_load_theme_styles_enable'; wp_insert_settings_page_layout($parameters, 'WP-INSERT : Miscellaneous Options', 'miscellaneous'); } function wp_insert_miscellaneous_core_update_notification_HTML() { ?>
You can hide the message which says : "WordPress XX.XX.XX is available! Please update now." if you dont want users to accidently upgrade the core when you suspect an upgrade might break a feature.
Disables all default widgets except the Text Widget
Disables all default widgets except the Text Widget
Disables all default widgets except the Text Widget