Skip to content

Instantly share code, notes, and snippets.

@nicholasohrn
Created March 16, 2014 04:33
Show Gist options
  • Save nicholasohrn/9578592 to your computer and use it in GitHub Desktop.
Save nicholasohrn/9578592 to your computer and use it in GitHub Desktop.
<?php
function admin_menu_change_posts_link_to_pending_review() {
global $submenu;
$submenu['edit.php'][5][2] = 'edit.php?post_status=pending&post_type=post';
}
add_action('admin_menu', 'admin_menu_change_posts_link_to_pending_review');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment