• Resolved Hasaanch

    (@hasaanch)


    Hi there,
    I started getting spams after few days, so I refreshed the honeypot id from all my sites.
    I tried checking the documentation for any code or action that can refresh the id each day but found nothing.
    I think that should be great if the plugin can automatically generates new honeypot id each day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dnesscarkey

    (@dnesscarkey)

    @hasaanch,

    We will check on this and try adding this feature.

    Thanks

    In case it can help, I have added this code in a mu-plugins:

    add_action( 'delete_expired_transients', 'thfo_update_wp_armour_uniq_key' );
    function thfo_update_wp_armour_uniq_key() {
    if ( ! function_exists( 'wpa_unqiue_field_name' ) ) {
    return;
    }
    update_option( 'wpa_field_name', wpa_unqiue_field_name() );
    }

    each time WordPress is deleting the transients, I’m updating the WP Armour option using their function (which has a typo).

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.