-
Home
-
Deploy Webhook Github Actions
- Tips
function plt_hide_deploy_webhook_github_actions_menus() {
//Hide the "GA Deploy" menu.
remove_menu_page('github-actions-deploy-webhook');
//Hide the "GA Deploy → Main" menu.
remove_submenu_page('github-actions-deploy-webhook', 'github-actions-deploy-webhook');
//Hide the "GA Deploy → Settings" menu.
remove_submenu_page('github-actions-deploy-webhook', 'github-actions-deploy-webhook-options');
}
add_action('admin_menu', 'plt_hide_deploy_webhook_github_actions_menus', 11);
Where do I put this code?