Skip to content

Instantly share code, notes, and snippets.

@webmarked
webmarked / WP_Bag_of_Tricks.txt
Last active January 26, 2022 00:11 — forked from getsource/WP_Bag_of_Tricks.txt
Things I've learned by being DreamHost's resident WordPress nerd.
WP Bag of Tricks
1. Helpful Scripts/Plugins:
Hacks:
http://wordpress.org/extend/plugins/tac/
http://wordpress.org/extend/plugins/exploit-scanner/ (Can be extremely resource intensive.)
http://wordpress.org/extend/plugins/wp-malwatch/
{
"count": 3,
"type": "success",
"items": [
{
"id": "6372536837",
"title": "Samsung Galaxy On7 Gold, 8 GB",
"handle": "samsung-galaxy-on7-gold-8-gb",
"variant_id": "21005590533",
"is_true_variant": "0",
@webmarked
webmarked / public-api-demo.js
Last active March 25, 2020 16:59
Sample Smart Wishlist public API implementation
//This jQuery based code fetches the contents of Express Wishlist (unregistered users)
var wishlistid=SWGetExpressWishlistId();
$.ajax({
url: "/a/wishlist?type=api&wishlistid="+wishlistid+"&version=1",
dataType: "json",
cache:false,
success: function(data) {
//your code for displaying the wishlist data.
}