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

  • Resolved 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?



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


    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)
  • The topic ‘Array of unblocked pages’ is closed to new replies.