I just removed the code you gave me, the code below, but I think it only prevents access to the backup section. But I removed the code from functions because it blocks it when I want to enter the backup upload section in the settings. After removing it, I saw that the site took a backup again at the exact time when it was broken. This code does not prevent the site settings from taking a backup.
The site settings are corrupted when it takes a backup.
I don’t want it to backup any settings automatically.
add_action( ‘admin_menu’, function () {
remove_submenu_page( ‘xts_dashboard’, ‘xts_theme_settings_backup’ );
}, 11 );
Attachments:
You must be
logged in to view attached files.