briteweb / wp-cron-auth
Enable CRON behind basic auth.
Package info
github.com/Briteweb/wp-cron-auth
Type:wordpress-plugin
pkg:composer/briteweb/wp-cron-auth
0.1.1
2021-03-24 18:07 UTC
README
The plugin requires the following constants to be defined
WP_CRON_HTTP_BASIC_USERNAMEWP_CRON_HTTP_BASIC_PASSWORD
Bedrock
If you're using bedrock, add this block to config/application.php to define the constants.
/**
* WP CRON basic authentication
*/
Config::define('WP_CRON_HTTP_BASIC_USERNAME', env('WP_CRON_HTTP_BASIC_USERNAME'));
Config::define('WP_CRON_HTTP_BASIC_PASSWORD', env('WP_CRON_HTTP_BASIC_PASSWORD'));
And the following lines to .env and .env.example
WP_CRON_HTTP_BASIC_USERNAME=
WP_CRON_HTTP_BASIC_PASSWORD=