function remove_settings_menu() { remove_menu_page('options-general.php'); } add_action('admin_menu', 'remove_settings_menu'); function remove_plugins_menu() { remove_menu_page('plugins.php'); } add_action('admin_menu', 'remove_plugins_menu'); add_action('admin_menu', 'remove_astra_tab'); function remove_astra_tab() { remove_menu_page('astra'); }
Day: 14 Feb 2023
Change Howdy, admin text from WordPress
To change the "Howdy, admin" greeting in WordPress, you can use the following code snippet in your functions.php file: This code uses the admin_bar_menu filter to modify the greeting text. The custom_admin_greeting function replaces "Howdy" with "Welcome" in the greeting text. You can modify the replacement text as per your preference. function custom_admin_greeting( $wp_admin_bar ) … Continue reading Change Howdy, admin text from WordPress
Email Send on Post Generating – WordPress
<?php /* * Plugin Name: Email Send On Post * Plugin URI: https://observerinsider.wordpress.com * Description: Recieve email on generating post. * Version: 1.1.0 * Requires at least: 5.2 * Requires PHP: 7.2 * Author: … Continue reading Email Send on Post Generating – WordPress
You must be logged in to post a comment.