• Resolved PatriceF

    (@patricef)


    Hello,
    Is there a way when i have a trigger on a custom post type visit(read) to create a custom post type and fill it (like posts).
    I want to detect when a user read something (a CPT) and create a CPT “logentry” with the URL read in order to create an history page viewable by the user himself.

    Thx for your answer

Viewing 1 replies (of 1 total)
  • Plugin Author Ruben Garcia

    (@rubengc)

    Hi @patricef

    Yes, its completely possible, the automation you need will be something like:

    Trigger: User views a post of the CPT you want
    Action: Create a post with the type “logentry”

    Hope it helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Create and fill cutom post type’ is closed to new replies.