Install MailHog with MAMP Pro, using HomeBrew.
First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
/** global jQuery */ | |
(function ($) { | |
'use strict' | |
const requirements = { | |
$title: $('#title') | |
} | |
/** | |
* Initiate. |
<?php declare(strict_types=1); | |
/** | |
* Plugin Name: Demo App Passwords Client | |
*/ | |
namespace TimothyBJacobs\AppPasswordsClientDemo; | |
const META_KEY = '_app_passwords_client_demo_creds'; | |
const PAGE = 'app-passwords-demo'; |
<?php declare(strict_types=1); | |
/** | |
* Get Post By Slug | |
* @wordpress-plugin | |
* Plugin Name: Not Found Posts by Slug to 404 | |
* Description: Validate REST API requests by slug, and set proper response 404 status when not found. | |
* Author: Austin Passy | |
* Author URI: https://github.com/thefrosty | |
* Version: 1.0.0 |
First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
<?php | |
/** | |
* WpRestApiCache Controller. | |
* This file extend the wp-rest-api-cache plugin that allows filtering of | |
* cache depending on conditions met. | |
* | |
* @package BeachbodyOnDemand\WpRestApiCache | |
*/ | |
namespace BeachbodyOnDemand\WpRestApiCache; |
<?php | |
namespace Dwnload\Plugins\Dovedi; | |
/** | |
* Class Add2faMetaBox | |
* | |
* @package Dwnload\Plugins\Dovedi | |
*/ | |
class Add2faMetaBox { |
<?php | |
namespace Passy; | |
add_action( 'customize_register', __NAMESPACE__ . '\\customize_register' ); | |
function customize_register( WP_Customize_Manager $wp_customize ) { | |
$wp_customize->add_panel( 'custom_login_settings', | |
array( |
<?php | |
/** | |
* @Author Anonymous | |
* @link http://www.redrokk.com | |
* @Package Wordpress | |
* @SubPackage RedRokk Library | |
* @copyright Copyright (C) 2011+ Redrokk Interactive Media | |
* | |
* @version 0.1 | |
*/ |
if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_post ) ) { | |
die($_POST['action']); | |
add_action( 'wp_ajax_' . $_POST['action'], 'wp_ajax_' . str_replace( '-', '_', $_POST['action'] ), 1 ); | |
} |
<VirtualHost *:80> | |
DocumentRoot "/Users/austinpassy/Documents/Websites/thefrosty.net/html" | |
ServerName thefrosty.dev | |
ServerAlias thefrosty.dev *.thefrosty.dev | |
<Directory "/Users/austinpassy/Documents/Websites/thefrosty.net/html"> | |
Options Indexes FollowSymLinks ExecCGI Includes | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> |