Support » Plugin: HTTPS Mixed Content Detector » Filtering who can trigger a check

  • I believe like 229 in file beacon.php is where you check if the current user is an admin and if the check should happen.

    if ( ! current_user_can( 'activate_plugins' ) ) {
        return;
    }

    If that’s true, is it possible to add a filter for ‘activate_plugins’? I’d like to change the type of visitor who triggers the check and I don’t want to edit the plugin files directly.

    Thanks!

    https://wordpress.org/plugins/https-mixed-content-detector/

  • The topic ‘Filtering who can trigger a check’ is closed to new replies.