WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

To add ep_user_sync_kill filter when user meta updated #163

@yarovikov

Description

@yarovikov

Is your enhancement related to a problem? Please describe.

Hi there

What about to add ep_user_sync_kill

if ( apply_filters( 'ep_user_sync_kill', false, $user_id ) ) {
    return;
}

here

https://github.com/10up/ElasticPressLabs/blob/develop/includes/classes/Indexable/User/SyncManager.php#L66

I don't need some users in the index after updating their metadata. Related with #162

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions