Function Reference: geodir_payment_add_invoice_scripts
Summary
This function has not been documented yet.
Source Code
function geodir_payment_add_invoice_scripts() { if ( geodir_payment_is_page( 'invoice' ) ) { wp_enqueue_style( 'gd_payment-cart-style', plugins_url( '', __FILE__ ) . '/css/gd-cart.css', array(), GEODIRPAYMENT_VERSION ); } wp_enqueue_style( 'gd_payment-invoices-style', plugins_url( '', __FILE__ ) . '/css/gd-invoices.css', array(), GEODIRPAYMENT_VERSION ); add_action( 'wp_footer', 'geodir_payment_localize_all_js_msg' ); wp_register_script( 'gd_payment-invoices-js', plugins_url( '',__FILE__ ) . '/js/gd-invoices.js', array(), GEODIRPAYMENT_VERSION ); wp_enqueue_script( 'gd_payment-invoices-js' ); }