This topic has 3 replies, 2 voices, and was last updated 7 years, 3 months ago by Fem.
Viewing 4 posts - 1 through 4 (of 4 total)
Edit the cook-pro/cook-pro.php file located in the plugins directory and find the below code which you can remove it
// Adds login logout to the admin menu
if ( 'on' !== get_option( 'rcp_login_link' ) ) {
add_filter( 'wp_nav_menu_items', 'cookpro_add_login_logout_link', 10, 2 );
function cookpro_add_login_logout_link( $items, $args ) {
ob_start();
wp_loginout( 'index.php' );
$loginoutlink = ob_get_contents();
ob_end_clean();
$items .= '<li>' . $loginoutlink . '</li>';
return $items;
}
}
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Login in menu’ is closed to new replies.