I made a plugin and trying to install on wordpress.org but Wordpress is giving me error message that ## Calling core loading files directly is incorrect.
I am using a cron file in my plugin.This cron can be set via CPanel also. That's why I have to include 'wp-config.php' and I am including this as
include '../../../wp-config.php';
My cron file path is something like this
https://www.abc.com/wp-content/plugins/klicktip/cron_execute.php?redirect=1
Please help me how to include wp-config file so wordpress.org allow my plugin to install on wordpress.
thanks in advance!