Hello Team,
it would be nice to have a option to disable the social login feature completely in Theme Settings so that the implemention is not loaded in Woodmart Core plugin.
i have made some tests because i have a 1.6sec ttfb (time to first byte) server response, with a fresh wordpress install on a fresh VPS Server with 4 cores and 8GB RAM, it is not that bad but with other themes i have 500ms and lower.
have commented out the following lines in woodmart-core.php (from the woodmart core plugin)
//require_once ‘vendor/opauth/twitteroauth/twitteroauth.php’;
//require_once ‘inc/auth.php’;
require_once ‘class-post-types.php’;
require_once ‘post-types.php’;
require_once ‘inc/shortcodes.php’;
this changes my ttfb from 1.6sec to 900ms. i think it is because of the composer autoloader, but not sure.
would be nice if social login can be disabled in Theme Settings and then this files will be not loaded so i will be safe for theme updates
Thank you