• Resolved Paras Shah

    (@parasshah)


    The requirement is –

    I’ve a custom post type, and I want to trigger a mail to the subscribers every day which sends 1 random custom parent post (The custom type has a parent-child hierarchy).

    I’m aware of selecting a random parent custom post type using WP_Query.

    So, is it possible to have this type of functionality (perhaps, by extending the code) in Email Subscribers?

    If yes, would be great if you can give me hints or code about how can I create a daily trigger of sending a random custom post.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Paras Shah

    (@parasshah)

    Hello Devs,

    Would be great if I can get a reply on this.

    • This reply was modified 7 years, 9 months ago by Paras Shah.
    Plugin Author Icegram

    (@icegram)

    @parasshah,

    Sorry for the delayed response.

    Would like to update you that currently Email Subscribers does automatically detect the custom post types and also you can create groups for specific custom post types and then send newsletters to the same.

    However, currently the code does not consists of any WordPress actions or filters, so you cannot easily extend any of the existing plugin functionality.

    Explaining further, for achieving the result as desired by you, you would need to override the existing current functionality of getting the groups for any post type and then write your entire new code along with your logic of selecting a custom parent post type.

    Also, we do have plans to revamp the entire plugin and add scope for extending any of the plugin functionality by introducing actions and filters at the code level, but the same would take a considerable amount of time and as of now we do not have any estimated deadline for the same.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to extend the plugin’s functionality acc. to my needs?’ is closed to new replies.