Enable update notification, disable updates

Add the following code in your child theme’s functions.php or package it as a custom plugin to easily enable/disable: add_action( ‘wp_before_admin_bar_render’, ‘wpse161696_toolbar_menu’ ); add_action( ‘admin_menu’, ‘wpse161696_updates’ ); function wpse161696_toolbar_menu() { // Remove update menu item from the toolbar global $wp_admin_bar; $wp_admin_bar -> remove_menu( ‘updates’ ); } function wpse161696_updates() { // Remove all updating related functions … Read more

Alert Email when any Post or Page is Changed

There’s a few plugins that handle email notifications, but they all seem to act like a subscription service for (all) WordPress users. To notify just you when a post or page is published: /** * Send an email notification to the administrator when a post is published. * * @param string $new_status * @param string … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)