Support » Plugin: Exclude Pages » [Plugin: Exclude Pages] Exclude Spcific page when using wp_insert_post

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did this ever get resolved. I have a script that is parsing a text file and building pages based on # of ids in the text file. I need these pages to not show up under the parent page but they still need to be accessible from a user who is not logged in. So private pages will not work for me. Is there a way to make them hidden by default and or add this to my wp_insert_post & update_post_meta statements?

    You’ll need to update the ‘ep_exclude_pages’ option in the options table to do this.

    Have a look at the plugin’s code to see which functions are available. They are not contained in a class, so they are all available in the global namespace.

    Oh.. and don’t forget to check whether a WP particular install actually has the exclude_pages plugin installed in your code!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Exclude Pages] Exclude Spcific page when using wp_insert_post’ is closed to new replies.