i'mI'm having a problem. I have my WP with custom roles, capabilities and so on.. But i'mI'm having a problem in displaying the context help (in top right corner). If iI log in as admin-it's all right - it's there, if iI login with account which doesn't have admin rights -it's not there. But iI want to display help for lower level accounts too, how to do that? I think this is a WP core thing..can it be overwritten without changing the core? Thanks.
my code of diplayingdisplaying it:
add_action( 'load-post.php', 'wpd_help_post' );
function wpd_help_post() {
$screen = get_current_screen();
//my custom post types
if ( $screen->id == 'albumas' || $screen->id == 'edit-albumas' ) {
$screen->add_help_tab( array(
'id' => 'wpd-base',
'title' => __('My title', 'sfc'),
'content' => '<h3>My help text</h3>',
));
}
}
Well iI was stupid this time, everything is working. and, no matter ofwhich user. I forgot to add an action for creating a new entry and only added it for editing. that'sThat's why iI was unable to see it.