send_core_update_notification_email

send_core_update_notification_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('send_core_update_notification_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 345
    		 *
    		 * @param bool   $notify Whether the site administrator is notified.
    		 * @param object $item   The update offer.
    		 */
    		if ( ! apply_filters( 'send_core_update_notification_email', $notify, $item ) ) {
    			return false;
    		}
    
    		$this->send_email( 'manual', $item );
    		return true;
    	}
    

See this hook used in plugins: