• Good day,

    I have have a question.I am using this code

    $my_post = array(
    ‘post_parent’ => 11,
    ‘post_type’ => ‘page’,
    ‘post_title’ => $post->post_title,
    ‘post_content’ => ‘Test’,
    ‘post_status’ => ‘publish’
    );
    wp_insert_post( $my_post );

    this code will create new page but how can I add a line of code that make it accessable by members only?

    Thank you for the Excellent plugin,

    http://wordpress.org/extend/plugins/member-access/

  • The topic ‘[Plugin: Member Access] Create New Page with member access only’ is closed to new replies.