The probability is high that no hook will exist for that…
But it can be solved with jQuery:
add_action( 'admin_head-post.php', 'wpse_58567_highlight_menu_item' );
function wpse_58567_highlight_menu_item()
{
global $post;
if( 69 != $post->ID )
return;
?>
<script type="text/javascript">
jQuery(document).ready( function($) {
$('#toplevel_page_post-post-69-action-edit').removeClass('wp-not-current-submenu').addClass('current');
$('#toplevel_page_post-post-69-action-edit').find('a:last').addClass('current');
});
</script>
<?php
}
Related Posts:
- How to change menu page capability
- Why add_menu_page adds admin.php and how to remove it?
- Is there any way to add absolute path for add_menu_page function?
- WordPress add page under admin submenu and retaining the active status of the parent submenu page in the menu
- add sub_menu to a sub_menu (multiLevel sub_menu) in admin menu in wordpress
- How to add admin bar only page?
- Add an admin page, but don’t show it on the admin menu
- Getting custom admin submenu item to highlight when its active
- Show Custom Taxonomy Inside Custom Menu
- Add visit site to your toolbar instead of being in the dropdown
- List table not rendering when $this->items is filled
- Admin sidebar items overlapping in admin panel
- Adding an admin page – OOP approach not working
- Generate Advanced Custom Fields box in custom admin menu page
- difference between add_object_page and add_menu_page
- Theme editor menu item refuses to go away
- Remove menus and submenus
- Admin custom option screen not saved unless user manage_options capability
- WordPress admin menu formatting issue
- How to remove_menu_page added by a plugin that appears to have no referenceable slug
- WordPress setting API strucked
- Admin Menu – Highlight top-level menu when on a sub-menu page (without showing sub-menu)
- How to prevent parent admin page from appearring as a child admin page
- Admin Menus – Name Menu different from first Submenu [duplicate]
- add_menu_page() with function inside a class [duplicate]
- Edit Page or Post from Top Admin Bar
- How to minimize WP dashboard menu programmatically?
- How to determin which admin screen/sub screen I’m currently viewing
- Add post-new.php?post_cat=catslug to admin menu
- check current_theme_supports in admin_menu hook
- How do I insert the smaller variant of an image?
- Admin menu bar dropdown opens when I click on a form element (Chrome) [closed]
- Admin page repeatable fields
- Hiding Admin Page While Keeping Menu Expanded
- Change URL of plugin admin menu
- menu_order not working with slugs that start with admin.php
- How to add_menu_page include a php file page from theme directory
- How do I demote a menu item in the admin menu?
- Is it possible to pass variables from add_user_page?
- place a direct link to custom-stylesheet, under appearance menu in wp-admin
- Is there a limit to the number of items that can be added using the Appearance Menus Screen?
- Wrong current class on admin menu with add_submenu_page()
- Set different custom menu items for different user roles
- Add menu option to “New Post” menu in admin bar
- Role capability issue
- Pagination in plugin’s backend
- Add_menu_page() error message -> “You do not have sufficient permissions to access this page”
- What action/filter/function determines “current” class in WP Admin Menu
- ‘Headers already sent’ Error When Redirecting from add_submenu_page() Callback
- Create dynamic wordrpess blank page
- What’s the correct way of moving a menu page to a submenu
- Is it possible to add 3 level menu item to admin menu?
- meta box on new admin page
- Use Drag & Drop Functionality from WordPress Admin Area in the Frontend?
- Adding admin top-level menus
- Disordered sidebar in admin panel of self-hosted blog network [duplicate]
- How to rename Profile link in wp-admin page
- Additional menu item popping in submenus
- toolbar not visible on pages using front-page template
- How to align the top of an admin pointer to the target element?
- WP components no style
- Disable new Site Health screen safely?
- Adding menu item to WordPress admin bar for editors to edit one plugin’s settings
- Moving Smush plugin menu position to media submenu and removing it from main menu
- add submenu page doesn’t display
- Moving the WordPress dashboard avatar over the admin menu
- update_option does not work in this scenario – how do I fix?
- How to reference an existing css content-based icon, within my admin menu hook
- Margin problem on management menu?
- How can I move Customizer menu item to first level in WP Dashboard?
- How can I restrict a custom WordPress role access to only a specific plugin?
- How can I reorder admin bar items?
- Different Admin language
- Hide admin menu items if it is empty
- Unable to add custom page to WordPress admin panel
- How to add a notification next to custom admin menu?
- admin menu: use default “general” page for theme settings using add_menu_page and add_submenu_page
- no themes or editor under appearance menu
- add menu page in loop menu order
- How to remove an item from menu bar’s +New menu based on User role
- how to create pages and link them to a menu
- How to check an admin submenu already exists?
- Renaming post to something else, breaks dashboard if edit_posts is false
- Headers already sent error when creating multiple admin menu’s
- Removing admin menu items with white spaces
- How can I place a page link to the sidebar admin bar?
- Admin tabs for custom plugin
- Restricted access for other user roles
- Tab order of post admin page
- How Do I create multiple Top Level Admin Menu Pages To submit data to the options table?
- How can I modify text in admin bar?
- Add internal page to admin menu
- Settings API – Checkboxes validation in a menu with multiple subpages
- Remove the theme info from main dashboard screen- not appearance
- Turn on again old expandable menu
- Fatal error when using ‘#’ character as an admin menu link title
- Admin menu links just refresh the page
- How to unset adminmenu completely?
- Add items to the dark menu in WordPress
- Remove menu pages only for non admin