This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php // do not copy this line | |
| /** | |
| * Disables opening the Terms and Conditions page in an inline form on the Checkout page. | |
| * The Terms and Conditions link will then open in a new tab/window. | |
| */ | |
| add_action( 'wp', function() { | |
| remove_action( 'woocommerce_checkout_terms_and_conditions', 'wc_checkout_privacy_policy_text', 20 ); | |
| remove_action( 'woocommerce_checkout_terms_and_conditions', 'wc_terms_and_conditions_page_content', 30 ); | |
| } ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class odbc { | |
| protected $database; | |
| protected $table; | |
| protected $path; | |
| protected $size; | |
| /** | |
| * setPath |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Curl{ | |
| public static function GetPage($obj){ | |
| $link = isset($obj['url'])?$obj['url']:NULL; | |
| $useheader = isset($obj['showHeader'])?$obj['showHeader']:NULL; | |
| $useragent = isset($obj['agent'])?$obj['agent']:NULL; | |
| $referer = isset($obj['referer'])?$obj['referer']:NULL; | |
| $custheader = isset($obj['requestHeaders'])?$obj['requestHeaders']:NULL; | |
| $cookie = isset($obj['cookie'])?$obj['cookie']:NULL; | |
| $encoding = isset($obj['encoding'])?$obj['encoding']:NULL; |