This file contains hidden or 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 | |
/** | |
* Title: Add GPS Coordinates Column to WordPress Media Library (Best Version) | |
* Description: Extracts and displays GPS coordinates from image EXIF data in the media library table view. Robust extraction (multiple fallbacks), developer-configurable UI, admin notice, and copy-to-clipboard functionality. | |
* Version: 1.5.0 | |
* Author: brandonjp.com | |
* Last Updated: 2025-05-31 | |
* Blog URL: http://snipsnip.pro/880 | |
* Requirements: WordPress 5.0+ | |
* License: GPL v2 or later |
This file contains hidden or 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: Bulk Plugin Upload | |
* Description: Upload multiple WordPress plugins at once using a single ZIP file or several. | |
* Excerpt: Improve native WordPress plugin uploading with this Bulk Plugin Uploader which allows you to upload multiple WordPress plugins at once. You can select several individual ZIP files for upload, or choose a single ZIP that contains multiple plugins—either as separate folders or nested ZIPs. This user-friendly tool simplifies plugin management, making it quick and easy to install, activate, and set up auto-updates for your plugins. Perfect for novice users looking to streamline their WordPress site management! | |
* Version: 2.3.0 | |
* Author: brandonjp.com | |
* License: GPL v2 or later | |
* Text Domain: bulk-plugin-upload | |
* |
This file contains hidden or 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 | |
/** | |
* Title: Media Library Double-Click Selection [SnipSnip.pro] | |
* Description: Enhances the WordPress Media Library modal by enabling double-click to select and confirm media items. Double-clicking an image automatically selects it and triggers the select/insert button, streamlining the media selection workflow. | |
* Version: 2.2.0 | |
* Author: brandonjp.com | |
* Last Updated: 2025-02-18 | |
* Blog URL: https://snipsnip.pro/s/858 | |
* Requirements: WordPress 5.0 or later |
This file contains hidden or 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
/** | |
* Deactivate Specific Plugins on Staging & Non-Production Sites [SnipSnip.pro] - https://snipsnip.pro/s/827 | |
*/ | |
if (!class_exists('Deactivate_Plugins_On_Staging')) { | |
/** | |
* Selectively deactivates plugins on staging and similar environments. | |
*/ | |
class Deactivate_Plugins_On_Staging { | |
private $stagingKeywords = ['staging', 'dev', 'local', 'test', 'sandbox', 'demo']; | |
private $forceDeactivations = false; // Set to true to deactivate regardless of environment detection. |
This file contains hidden or 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
/** | |
* Deactivate Specific Plugins on Production Sites [SnipSnip.pro] - https://snipsnip.pro/s/825 | |
*/ | |
if (!class_exists('Deactivate_Plugins_On_Production')) { | |
/** | |
* Selectively deactivates plugins on production environments. | |
*/ | |
class Deactivate_Plugins_On_Production { | |
private $stagingKeywords = ['staging', 'dev', 'local', 'test', 'sandbox', 'demo']; | |
private $forceDeactivations = false; // Set to true to deactivate regardless of environment detection. |
This file contains hidden or 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
set dir to "~/Dropbox/Dropbox2/ScreenshotTimer/" | |
do shell script ("mkdir -p " & dir) | |
set intervalMins to 15 -- Change as per your desired frequency (in minutes) | |
set durationHours to 8 -- Change as per your desired duration (in hours) | |
-- Convert minutes to seconds for screenshot interval | |
set intervalSecs to intervalMins * 60 | |
-- Calculate total repetitions within duration | |
set totalReps to durationHours * 60 / intervalMins |
This file contains hidden or 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
if(!class_exists('WPOptionsViewPage')) { | |
class WPOptionsViewPage { | |
public function __construct() { | |
} | |
public function add_submenu_page() { | |
} | |
public function display_options_page() { |
NewerOlder