Function Reference: geodir_create_payment_pages

Summary

This function has not been documented yet.

Source Code

function geodir_create_payment_pages() {
    if (!get_option('geodir_payment_pages_installed')) {
        geodir_create_page(esc_sql(_x('gd-checkout', 'page_slug', 'geodir_payments')), 'geodir_checkout_page', __('GD Checkout', 'geodir_payments'), '');
        geodir_create_page(esc_sql(_x('gd-invoices', 'page_slug', 'geodir_payments')), 'geodir_invoices_page', __('Manage Invoices', 'geodir_payments'), '');
        
        update_option('geodir_payment_pages_installed', true);
    }
}