Support » Plugin: WP-Members: Membership Framework » Array of unblocked pages

  • Resolved pete2650

    (@pete2650)


    Hi I am currently using the login redirect function in my themes file.

    Currently it checks against pages in the wpmem pages array, I also want it to ignore pages that are checked “unblocked”

    Is there a function / array I can check against for these pages, instead of programatically putting the url for each page in?

    Cheers

    Pete

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    You’d have to include something in your function to assemble an array of all pages that have the meta key _wpmem_block=0

    That might require a direct sql query of the post_meta table to get the IDs of those pages.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.