Path Log File Filter | WordPress.org

[ad_1]

Plugin Support
Dake

(@dakeg)

Hi @alexmasu

Thanks for reaching out.

You can change the log path by modifying the below code snippet to your desired path and adding it to your website:

add_filter( 'easy_wp_mail_get_log_file_root_path', function() {
	return '/Your/path/to/your/site/wp-content/uploads/';
} );

Please note that you will have to create a logs folder in whatever folder you decide to change the root path to. In the example above I would have to create the logs folder in the /Your/path/to/your/site/wp-content/uploads/ folder.

In case it helps, here’s a tutorial with the most common ways to add custom code like this: https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/.

I hope this helps 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer