• Blog
  • Plugins
  • Billing

Category: PHP

All Posts (10)Advanced Custom Fields (1)API (2)Developers (7)Elementor (1)Mailgun (2)PHP (5)Reports (1)Shell Scripting (Bash) (2)Stripe (1)Users (3)WooCommerce (1)

PHP

How to Recursively Unset Array Keys and Object Properties in PHP

Published November 29, 2022

PHP's unset() function doesn't go deep. Here's the 5 short functions you need to efficiently prune multi-dimensional datasets in PHP.

API

Why wp_verify_nonce() Fails in WordPress REST API Endpoints

Published October 18, 2022

WordPress nonce values are actually tied to the current user, so you need to know how to authenticate requests to the WordPress REST API.

Advanced Custom Fields

How to Sort WordPress Posts by ACF Date Field Values

Published March 26, 2022

It doesn't always make sense to sort WordPress posts by their publish date. Custom sorting is easy with ACF and this quick code snippet.

Mailgun

How to Use Mailgun’s API in PHP to Send Emails Reliably

Published June 14, 2021

Don't add another dependency or configure SMTP on your server! A single endpoint of Mailgun's API can quickly provide PHP email reliability.

WooCommerce

How to Find Purchased, Returned, and Owned Product Quantities

Published April 27, 2020

Personalize experiences for your WooCommerce customers by knowing a customer's product quantities. I've already written the complete function for you!

Building custom WordPress software that helps you work more efficiently. Specialized in API integrations and process automation.

Purple Turtle Creative, LLC is a limited liability company registered with New York State.

Follow on LinkedIn

Recent

How to Accept International Bank Wire Transfers with Stripe February 23, 2023

How to Recursively Unset Array Keys and Object Properties in PHP November 29, 2022

Why wp_verify_nonce() Fails in WordPress REST API Endpoints October 18, 2022

Plugins

Completionist Grouped Content

Legal

Terms & Conditions Privacy Policy

Contact

Michelle Blanchette

Claim discounts and benefits by using my referral links:

Hosting with DigitalOcean

Performance via WP Rocket

Storage with Dropbox

Support by Codeable

© 2023 Purple Turtle Creative, LLC. All rights reserved.
Website designed and developed by Michelle Blanchette.