Because it’s a submenu page you need to use:
add_action('admin_init', 'remove_permalink_menu', 999);
function remove_permalink_menu()
{
remove_submenu_page( ‘options-general.php’, ‘options-permalink.php’ );
}
Thanks Ryan, that absolutely fixed it. Off to get coffee.
“Users with manage_options cap can still go to the page directly and update the permalinks structure.”
Yep, but I have another function that prevents the change getting saved to the database. I’ll just need to add some text to the top of that page informing users they can’t change the settings