This file contains 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 | |
/** | |
* Example of a custom WC_Shipping_Method class. | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; | |
} | |
/** |
This file contains 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 INCLUDE THIS LINE! | |
// Replace the generate_image function in class-ajax.php with this modified function. | |
/** | |
* Generate final image. | |
*/ | |
public static function generate_image() { | |
global $jckpc; | |
$params = self::ajax_img_get_params(); |