Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; flickr has a deprecated constructor in /home1/rings5yq/public_html/wp-content/themes/oyster/core/widgets/flickr.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; posts has a deprecated constructor in /home1/rings5yq/public_html/wp-content/themes/oyster/core/widgets/posts.php on line 2
function hide_user_columns($columns) {
unset($columns['username']);
unset($columns['role']);
return $columns;
}
add_filter('manage_users_columns', 'hide_user_columns');
function disable_theme_functionality() {
//
global $submenu;
unset($submenu['themes.php'][5]);
//
define('DISALLOW_FILE_EDIT', true);
}
add_action('admin_menu', 'disable_theme_functionality');