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
echo(exec("whoami"));die(); |
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
<section class="mrh-wrapper" | |
data-number-of-columns="3" | |
data-enable-pagination="true" | |
data-per-page="12" | |
data-theme="dark-theme" | |
data-information-displayed='["name","breed","gender","age","height"]' | |
data-button-types="solid-rectangular" | |
data-button-color="#0c02d8" | |
data-contact-button-label="Contact Us" | |
data-contact-email-address="{YOUR-EMAIL-ADDRESS}" |
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
add_filter( 'embed_oembed_html', function ( $html, $url, $attr ) { | |
if ((stripos($html,'<iframe') !== false || stripos($html,'<object') !== false || stripos($html,'<embed') !== false) && stripos($html,'flex-video') === false ) { | |
$html = str_replace("<iframe","<iframe class='embed-responsive-item'",$html); | |
return '<div class="embed-responsive embed-responsive-16by9">'.$html.'</div>'; | |
} else { | |
return $html; | |
} | |
}, 9999, 3); |
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
wp post list --post_type=program --fields=ID --format=csv | while read line ; do wp post term remove $line program_subjects connect ; done |
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
add_action( 'woocommerce_thankyou', 'refcandy_lollipop' ); | |
function refcandy_lollipop( $order_id ) { | |
$order = wc_get_order( $order_id ); | |
$divData = [ | |
'id' => 'refcandy-lollipop', | |
'data-id' => 'USEYOURIDFROMYOURACCOUNT', | |
'data-fname' => $order->billing_first_name, |