WordPress 5.2 integrated WSoD protection which by default it will send an email notification to admin when the site encounters some fatal error. I had built my client a site which I would like to monitor such error in case it happens, but I dont want to insert an admin role in my client site just for this purpose. Is there any hook which I can also set an additional technical support email if such events occur?
How to Set Notification Email in WordPress for Fatal Error Handler (WSoD)
1.7k Views Asked by HW Siew At
1
There are 1 best solutions below
Related Questions in WORDPRESS
- Ajax jQuery firing multiple time display event for the same result
- Retrieving *number* pages by page id
- How to change the name of the file during unzip?
- Pass variables to extended class
- Dynamic wordpress background Based on Slider images
- I want to remove certain parent- and child-divs in all my wordpress posts with php or some other script
- Wordpress limit post that subscriber can create
- CSS styles for all instances of a WordPress widget
- Detect the function that redirects the page
- Show success or error messages in Ajax response to Wordpress custom registration form
- Internal 500 server error: .htaccess: RewriteCond: bad flag delimiters
- Rerun loop after every third post? (Wordpress)
- Error 404 not going after Wordpress Permalink change to custom structure
- YouTube views not counting on Wordpress embed
- Include only specific categories in WooCommerce product categories widget
Related Questions in WORDPRESS-PLUGIN-CREATION
- Wordpress plugin approval standards: ## Calling file locations poorly
- File upload URL
- Registering a Wordpress REST route and endpoint for a function stored in a custom plugin - how to point to the existing plugin function and path
- Failed to send email in wordpress custom plugin with SMTP plugin configured
- Where to register REST route to wordpress plugin endpoint
- wordpress attach scripts not working properly
- Elementor: Get content from builder with in plugin
- How can i Insert another post on post save?
- Can not modify wordpress default upload directory
- Is there a way to submit form data in WordPress using WPForms (Pro) from inside another function?
- How to post client side multipart/formdata to.net core rest API using wordpress wp_remote_post?
- Wordpress plugin can't save media from external API
- How to manual update a private WordPress plugin from free to pro version
- Fatal error: Uncaught Error: Call to undefined function wp_generate_password() or wp_mail()
- Greenhouse job board integration on wordpress website
Related Questions in WSOD
- Drupal 7 WSOD and PHP Fatal Error
- White Screen of Death in Silex when switching from PHP 5.3 to Php 5.4 because of "session_start"
- My Wordpress Plugin is giving me the WSOD
- Silverlight Arg_COMException
- Another "error reporting not working in PHP" post
- How to Set Notification Email in WordPress for Fatal Error Handler (WSoD)
- Wordpress plugin updates break site when pushed
- Laravel default page blank
- PHP WSOD Apache Error
- Theme related WSOD in backend for other users
- Drupal Cache corruption
- Cannot modify header information - WSOD
- Laravel wsod (white screen of death) on godaddy hosting
- PHP WSOD (white screen of death) on OS X Lion
- White screen of death jquery load() html file with swf
Related Questions in HOOK-WORDPRESS
- How to Set Notification Email in WordPress for Fatal Error Handler (WSoD)
- How to use ob_start and ob_get_clean in wordpress
- Is it bad practice to customize existing Plugins in Wordpress?
- "Undefined index: post_type" when using save_post hook on Woocommerce orders
- Which available hook after products bulk save is completed in Woocommerce
- How to call Woocommerce Class function from functions.php?
- WooCommerce Checkout endless loading and custom redirection
- WooCommerce order status doesn't change on save_post_ action
- How to add class to product image on WooCommerce shop and archive pages
- Change some strings and substrings in Woocommerce using gettext hook
- WordPress: Force Username to Name and Surname with existing database check
- Hide / Change WooCommerce admin notice
- Check if cart is NOT empty in Woocommerce 3
- Reduce product long description in Woocommerce
- Updating cart totals after ajax request
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You are looking for the recovery mode hooks. The first way, the simpler one, is setting the
RECOVERY_MODE_EMAILconstant inside your wp-config.php.It’s also possible to change the Recovery Mode email address through the
recovery_mode_emailfilter:This way you will get the mail instead of your client, client is not scared and you are informed of the issue. If you want this sent to multiple addresses, return the emails as an array:
It is recommended to place your filter implementation into a separate plugin or mu-plugin to avoid Fatal Errors in theme that would cause the filter to never fire.
Reference