Mimic the WordPress.org developer reference for your project

I replicated wordpress.org’s code reference system for my own project. WordPress provides a template tag get_the_title() and it’s documented at https://developer.wordpress.org/reference/functions/get_the_title/. A plugin I just launched provides a template tag invp_get_the_price() and it’s documented at https://inventorypresser.com/docs/reference/functions/invp_get_the_price/ I learned that the page content is generated by scanning a plugin folder and extracting PHPDoc comments from the… Continue reading Mimic the WordPress.org developer reference for your project

Published
Categorized as WordPress

Entries To Google Sheet, an add-on for Gravity Forms

I built a WordPress plugin that saves a copy of all Gravity Forms entries in a Google Sheet as they are received. Entries to Google Sheet is the glue between a Gravity Form and a Google Sheet. https://entriestogooglesheet.com

Published
Categorized as WordPress

Extract WordPress databases and files with exfil

I have written and released a bash script that extracts WordPress websites and updates their local copies in my computer. It’s called exfil, it’s free and open-source, and lives on Github at https://github.com/csalzano/exfil/. To celebrate it’s release, I demoed exfil at the August 2020 burbswp.com virtual meetup, “What I’ve Learned Since Lockdowns Started”. I plan… Continue reading Extract WordPress databases and files with exfil

Published
Categorized as WordPress

Hiding Specific Terms When Creating or Editing Posts

The WordPress block editor uses the REST API to manipulate all information in the post object, so hiding terms from the category, tags, or a custom taxonomy meta box can be achieved by removing those terms from REST API responses. One hook that makes this easy is the rest_{taxonomy}_collection_params filter. Here is an example that… Continue reading Hiding Specific Terms When Creating or Editing Posts

Published
Categorized as WordPress

WordPress Memes

This is the collection of all the WordPress memes I’ve created. You Should Make Plugins Is This a PHP File? But Her Editors

Published
Categorized as WordPress