ssp_exclude_auth_list
How to use: add_filter()
Included in: Simply Static Pro 1.6.1+
Overview
The ssp_exclude_auth_list allows you to extend the list of whitelisted endpoints for the Basic Auth protection. This is useful if you have a custom webhook script within the WordPress directory that needs to be accessible without passing the Basic Auth credentials.
Example
The following code snippet whitelists a new route:
add_filter('ssp_exclude_auth_list', function( $routes ) { $routes[] = 'some-custom-script-file'; return $routes; });