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

Troubleshooting VS Code, xDebug, and Laravel Valet on macOS

Problem: xDebug is not showing up in phpInfo() output Run <?php phpInfo(); in a browser and look for “with Xdebug” like is shown near the bottom left of this screenshot: There’s also a large section of xDebug settings near the bottom of the page. Here’s mine: If you do not see xDebug in these locations… Continue reading Troubleshooting VS Code, xDebug, and Laravel Valet on macOS

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

Azure External Tables: Please verify that the shards are accessible

Are you getting this error from Azure SQL Server? Login failed on ServerName.database.windows.net.DatabaseName Please verify that the shards are accessible and that the credential information affiliated with external data source ExternalDataSourceName is correct. When I ran into this error while migrating a SQL Server instance to Azure and designing External Tables, it was because the… Continue reading Azure External Tables: Please verify that the shards are accessible

Published
Categorized as How to