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 | |
/** | |
* !!! PLEASE CYCLE YOUR SALTS !!! | |
* | |
* @package WordPress | |
*/ | |
/** | |
* Locate & Decode Database Credentials from Lando Info | |
*/ |
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 | |
add_filter( 'admin_body_class', 'dbr_mod_admin_body_class' ); | |
/** | |
* Append Post ID to Admin Body Classes | |
*/ | |
function dbr_mod_admin_body_class( $classes ) { | |
global $post; |
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
#!/usr/bin/env node | |
const { writeFileSync } = require('fs'); | |
const { join } = require('path'); | |
const themeConfig = require('../.source/theme'); | |
console.log('🧱 Building theme.json...'); | |
try { | |
writeFileSync( | |
join(__dirname, '../theme.json'), |