• Resolved alexmasu

    (@alexmasu)


    Hi, I need to change the log path, I saw that there is a filter to change programmatically as described in Changelog 1.5.3 , What is the name of this filter ?

Viewing 1 replies (of 1 total)
  • 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 ??

Viewing 1 replies (of 1 total)
  • The topic ‘Path Log File Filter’ is closed to new replies.