Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php // do not copy this line
- function jp_filter_wc_gateways( $gateways ){
- return array( $gateways[ array_rand( $gateways ) ] );
- }
- add_filter( 'woocommerce_available_payment_gateways','jp_filter_wc_gateways' );
Add Comment
Please, Sign In to add comment