Replies: 0
Hi. I really appreciate the liberal use of apply_filters
in your codebase. I prefer to version control my preferences versus having them saved in the database. With that being said, I am toggling some of your features off with said filters BUT the checkbox options still display on the admin screen. For example, if I set the filter, wp_mail_smtp_reports_emails_summary_is_disabled
to __return_false
, there should also be a conditional that hides the entire block of code starting at line 246 in wp-content/plugins/wp-mail-smtp/src/Admin/Pages/MiscTab.php. That would remove the option completely from the admin screen. This is only one example. Ideally, this entire screen could be cleaned up if a person chooses to set their config via code and version control it. Thanks in advance!