$parse_uri = explode( ‘wp-content’, $_SERVER[‘SCRIPT_FILENAME’] ); require_once( $parse_uri[0] . ‘wp-load.php’ ); Include that at the top of your separate file and you’ll […]
// Disable gateway based on country function payment_gateway_disable_country( $available_gateways ) { global $woocommerce; if ( isset( $available_gateways[‘cod’] ) && $woocommerce->customer->get_country() <> ‘IN’ […]
##Current server cfg ##Edit the dickens out of these variables! rcon.password “YourPassword” server.hostname “Your Cool Server Name” server.maxplayers 50 server.pvp “true” sleepers.on […]