function remove_onemozilla_options() { remove_custom_background(); remove_custom_image_header(); }
function remove_twentyeleven_options() { $user = new WP_User(get_current_user_id()); if (!empty($user->roles) && is_array($user->roles)) { foreach ($user->roles as $role) { $role = $role; } } if ($role == "editor") { remove_custom_background(); remove_custom_image_header(); remove_action('admin_menu', 'twentyeleven_theme_options_add_page'); } }
function remove_twentythirteen_theme_options() { remove_theme_support('post-formats'); remove_custom_background(); remove_custom_image_header(); }