Pay to Blog question

Monthly
  • 176 points
    Serious WPMU DEV-ster
    I'm new here
    TonyV

    Member  —  15th May 2009 (3 years ago)         

    Andrew, if you catch this, was wondering it I could comment out the last two paypal buttons in pay-to-blog.php paytoblog plugin? or is there an easier way?

    I was thinking lines 106 - 113 and like this

    $blog_url = get_blogaddress_by_id($wpdb->blogid);
    if ( $period == '1' ) {
    $amount = get_site_option( "pay_to_blog_1_cost" );
    //} else if ( $period == '3' ) {
    // $amount = get_site_option( "pay_to_blog_3_cost" );
    //} else if ( $period == '12' ) {
    // $amount = get_site_option( "pay_to_blog_12_cost" );
    }

    will this work? I just want one option for the subscription.

    Thanks.
    Tony V