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 | |
/** | |
* | |
*/ | |
public static function get_rule_logs( $query ) { | |
if (!isset($query['rule_id']) || !$query['rule_id']) { | |
return []; | |
} |
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 | |
/* | |
* | |
*/ | |
public function get_special_logs( $query ) { | |
if (!isset($query['special_id']) || !$query['special_id']) { | |
return []; | |
} |
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 | |
class ChildTheme { | |
/** | |
* | |
*/ | |
public function __construct() { | |
$this->load_hooks(); | |
} |
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 | |
namespace Example\Register\Taxonomy; | |
class Profile_Tag { | |
static $taxonomy_name; | |
/** | |
* Initialize Profile_Tag class |
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 to replace text in Google Slides with Google Sheet values | |
* @reference https://hudsonatwell.co/2020/10/03/how-to-use-google-slides-to-autogenerate-featured-images/ | |
*/ | |
function generate_featured_image() { | |
/* get spreadsheet from public view link */ | |
var dataSpreadsheetUrl = "https://docs.google.com/spreadsheets/d/1necmbNPUsGJ3fwNiFpgNLbtH6c2RmJDwIQCPuhAfA7s/edit"; //make sure this includes the '/edit at the end | |
var ss = SpreadsheetApp.openByUrl(dataSpreadsheetUrl); | |
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: Inbound Extension - Cornerstone Builder | |
Plugin URI: http://www.inboundnow.com/ | |
Description: Adds landing pages support to the cornerstone builder | |
Version: 1.0.8 | |
Author: Inbound Now | |
Contributors: Hudson Atwell | |
Author URI: http://www.inboundnow.com/ | |
*/ |
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 | |
/** | |
* Zapier Webhook Listener - Creates a status update into the custom post type 'news' , tags it, categorizes it | |
*/ | |
/* define your secret key - must match the webhook secret key you inputted into the Zapier Zap. */ | |
$ztw_secretkey = 'supersecretkey'; | |
/* hook action to the WordPress 'init' hook. This will process webhook requests from Zapier */ |
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
{ | |
"2018-10-16 15:00:00": { | |
"id": 923330759510888400, | |
"id_str": "923330759510888448", | |
"name": "TweetBoostPRO", | |
"screen_name": "WPTweetBoost", | |
"location": "", | |
"description": "WordPress Plugin - Advanced tweet scheduler that helps WordPress admins schedule tweets from directly within the wp-admin. Check us out!", | |
"followers_count": 6, | |
"friends_count": 7, |
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
<item> | |
<title> | |
Read our tutorial on how we use TweetBoostPro to create a novelty twitter bot! https://wptweetboost.com/tweet-campaigns/how-to-build-a-twitter-bot-using-wordpress-tweetboostpro/ | |
#WordPress #DevChat #WPchat #devjournal #twitter | |
</title> | |
<pubDate> | |
Thu, 08 Nov 18 12:00:00 +0000 | |
</pubDate> | |
<description> |
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 | |
/** | |
* @credits https://jeroensormani.com/adding-a-custom-woocommerce-product-type/ | |
*/ | |
//error_reporting(E_ALL); | |
//ini_set('display_errors', 1); | |
add_action('init' , 'wc_pm_load_product_type'); | |
function wc_pm_load_product_type() { | |
NewerOlder