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 | |
/** | |
* hide_group_id_field | |
* | |
* Hides a field when a field group is rendered as a front-end form. | |
* | |
* @param array $wrapper | |
* @param array $field | |
* @return array |
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 | |
defined( 'ABSPATH' ) or exit; | |
/** | |
* Plugin Name: Password Protection Admin Bypass | |
* Description: Allows logged-in administrators to bypass password protection on pages and posts. | |
* Version: 1.0.0 | |
* Author: Corey Salzano | |
* Author URI: https://github.com/csalzano | |
* Plugin URI: https://gist.github.com/csalzano/f10727dfff7614decbe663912d9c86d9 |
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
::plugin-zipper.bat | |
::Zips a directory while excluding .git, node_modules, and .gitingore | |
@echo off | |
set /p slug=Please enter a directory name/plugin slug: | |
If /I "%slug%"=="" goto earlyexit | |
tar -a -c -f "%slug%".zip --exclude ".git" --exclude ".gitignore" --exclude "node_modules" "%slug%" | |
:earlyexit |
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 | |
/** | |
* @link | |
* @since 1.0.0 | |
* @package TODO | |
* | |
* @wordpress-plugin | |
* Plugin Name: Use MailHog | |
* Description: Configure WordPress on Valet to use MailHog | |
* Version: 1.0.0 |
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 | |
/** | |
* Creates a markdown document based on the parsed documentation | |
* | |
* @author Peter-Christoph Haider <peter.haider@zeyon.net> | |
* @package Apidoc | |
* @version 1.00 (2014-04-04) | |
* @license GNU Lesser Public License | |
*/ |
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 | |
/** | |
* Plugin Name: Elementor Form Additional Webhook | |
* Plugin URI: https://gist.github.com/csalzano/dfd754e0fe8b6ac10731fad8f257c0bf | |
* Description: Adds a second Webhook to an Elementor form | |
* Version: 1.0.1 | |
* Author: Corey Salzano | |
* Author URI: https://breakfastco.xyz/ | |
* License: GPLv2 or later | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |
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
{ | |
"$schema": "https://schemas.wp.org/trunk/theme.json", | |
"version": 2, | |
"settings": { | |
"layout": { | |
"contentSize": "1180px", | |
"wideSize": "1280px" | |
} | |
} | |
} |
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
<?xml version="1.0"?> | |
<!-- WordPressNotWordPress coding standard for PHP CodeSniffer. https://gist.github.com/csalzano/0642ac242d72acb2fbe118482ae593e2 --> | |
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="WordPressNotWordPress"> | |
<!-- Include the whole WordPress standard --> | |
<rule ref="WordPress"> | |
<exclude name="WordPress.DB.RestrictedFunctions.mysql_mysqli_connect"/> | |
<exclude name="WordPress.DB.RestrictedFunctions.mysql_mysqli_error"/> | |
<exclude name="WordPress.DB.RestrictedFunctions.mysql_mysqli_fetch_assoc"/> | |
<exclude name="WordPress.DB.RestrictedFunctions.mysql_mysqli_num_rows"/> | |
<exclude name="WordPress.DB.RestrictedFunctions.mysql_mysqli_query"/> |
OlderNewer