Home Forums Newsletter Plugin Support wp_user_query

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11292
    dmenne
    Participant

    I would like to send a newsletter to all users from a wp_user_query (e.g. all users that have the custom field xx set to “active” and who have not logged in since 6 month).

    Is it possible to dynamically generate a user list from such a query?

    #11293
    Stefano
    Keymaster

    Hi, I don’t know if WordPress stores the last logged in date, on my standard installation I have not found such information. Anyway Newsletter does not work directly with WP users, you should export them and import them.

    Newsletter can send Newsletter to WP users, so you can link a subscription with a user (see the subscriber panel functions), but there is no way to query over some WP user attributes.

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