View gist:7d5ddde3fadc29608781655b76374c64
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 | |
update_option( 'seedprod_token', wp_generate_uuid4() ); |
View gist:eb088317f7f54821b10dd15ce6c20ca6
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
{ | |
"show_header_template":true, | |
"show_footer_template":true, | |
"no_conflict_mode":false, | |
"no_index":false, | |
"seo_title":"", | |
"seo_description":"", | |
"favicon":"", | |
"social_thumbnail":"", | |
"enable_recaptcha":false, |
View gist:17b5a99e937f08081dcf136ecc38634c
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
<a id='COCBadgeURL' href='https://www.chamberofcommerce.com/united-states/colorado/denver/massage-therapist/2013293472-gentle-myofascial-release?source=memberwebsite' target='_tab' rel='noopener'><img style='width:auto;height:150px;' id='COCBadgeIMG' src='https://coc.codes/images/badge/2013293472'></a> |
View remove_inline_css_and_style_tag.php
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 | |
// https://simplehtmldom.sourceforge.io/ | |
include_once('simple_html_dom.php'); | |
function semi_it( $string ) { | |
return rtrim( $string, ';' ) . ';'; | |
} | |
function generate_random_string($length = 10) { | |
$characters = '0123456789abcdefghijklmnopqrstuvwxyz'; |
View rolling-updates.php
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 | |
// we have a product upload record in our db. That upload record has things like: | |
//slug, zipfile, current_verison, wordpress_version_required, test_to, upgrade_notice etc | |
// when a update request comes in we run our checks. | |
// for example if we are checking for a legacy version | |
$is_legacy = false; | |
$latest_legacy_version = '5.12.8'; |
View rafflepress-invent-your-own.php
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 | |
/* | |
Plugin Name: RafflePress Invent Your Own | |
Plugin URI: | |
Description: Programmatically Add User and Complete Actions in RafflePress | |
Version: | |
Author: | |
Author URI: | |
License: | |
License URI: |
View gist:ee66ef9de9b6a350b05b0af405c471fc
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 (empty($giveaway->slug) || !empty($_GET['iframe'])) { ?> | |
<meta name="robots" content="noindex"> | |
<?php } ?> |
View gist:fbaeaa2d3b5728f9871f57863b108a77
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
document.addEventListener('om.Campaign.afterShow', function(event) { | |
// exit offer | |
if(event.detail.Campaign.numericId == '212237'){ | |
var offer_ajax_url = '/checkout/exit_offer'; | |
console.log( _self.$data); | |
axios | |
.post(offer_ajax_url, | |
_self.$data | |
).then(function (response) { |
View RafflePress frontend string
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 | |
$rp_frontend_translations = array( | |
'txt_1'=>__('Total Entries', 'rafflepress-pro'), | |
'txt_2'=>__('Your Entries', 'rafflepress-pro'), | |
'txt_3'=>__('Log In to Enter this Giveaway:', 'rafflepress-pro'), | |
'txt_4'=>__('Enter', 'rafflepress-pro'), | |
'txt_5'=>__('Logout', 'rafflepress-pro'), | |
'txt_6'=>__('Hi', 'rafflepress-pro'), | |
'txt_7'=>__('Ways to Enter', 'rafflepress-pro'), |
NewerOlder