Skip to content

[Resolved] Presspermit & get_pages()

Home Forums Basic Usage Presspermit & get_pages()

This topic contains 7 replies, has 2 voices, and was last updated by 4 months, 2 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #22335 Reply

    Hello there

    tried to submit a ticket in the developer support section of this forum but couldn’t find a link to submit a ticket there. posting here instead.

    I do run a cronjob on my wordpress site, looping through the pages and create PDFs documents on the comments and deleting comments after PDF creation

    to loop through the pages I use get_pages() function

    it used to return an array with the pages but since I installed presspermit it doesn’t return any pages anymore. It just returns an empty array(0)

    In the cronjob script I also do login to wordpress:

    the user signing in is the admin user and does not have any restrictions set via presspermit.

    what do I need to do to get the get_pages() function working again?

    I wanted to post the code I’m using in my script but the site gives me errors when submitting:

    403 Forbidden

    A potentially unsafe operation has been detected in your request to this site.

    thanks & greetings
    Becki

    #22336 Reply

    [ login required ]

    #22337 Reply

    [ login required ]

    #22342 Reply

    [ login required ]

    #22362 Reply

    [ login required ]

    #22369 Reply

    [ login required ]

    #22371 Reply

    [ login required ]

    #22386 Reply

    [ login required ]

Viewing 8 posts - 1 through 8 (of 8 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.