briteweb / wp-cron-auth
Enable CRON behind basic auth.
Installs: 1 380
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 1
Type:wordpress-plugin
README
The plugin requires the following constants to be defined
WP_CRON_HTTP_BASIC_USERNAME
WP_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=