Skip to content

[Resolved] Finding Group details for unpublished child page

Home Forums Press Permit API Finding Group details for unpublished child page

This topic contains 1 reply, has 2 voices, and was last updated by 3 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20608 Reply

    We currently have some logic in place for a unpublished posts where users of lesser permissions are able to submit a post for review and we send an email to the administrator. We have a need to enhance this so we send to different email address based on the Press Permit Editoral Circle that the post belongs too.

    When using the WordPress ‘save post’ action how can we query the group IDs for the newly created page? I can get this working on existing pages but for unpublished pages I’m not able to return the restricted groups. As an example I’ve been trying something like the below – is there a function already available whereby I can return this information?

    #20610 Reply

    [ login required ]

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Registered members have full access to Pro support forums here.

Feel free to log in or purchase a support key.