$WOOCS->is_use_geo_rules()Will return TRUE if GEO IP option is enabled on the plugin settings page global $WOOCS; if($WOOCS->is_use_geo_rules()){ //do smth here if GEO IP functionality enabled }1234global $WOOCS;if($WOOCS->is_use_geo_rules()){ //do smth here if GEO IP functionality enabled}