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 | |
/** | |
* Checks if the plugin is on a multisite install. | |
* | |
* @param bool $network_admin Check if in network admin. | |
* @param bool $network_activated Check if plugin is network activated. | |
* @param string $plugin_file Path to the plugin file. | |
* | |
* @return true if multisite, false if not. | |
*/ |
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
import { __ } from '@wordpress/i18n'; | |
const getCropSettings = ( overrides = {} ) => { | |
// Set the settings for the media uploader and cropper. | |
let settings = { | |
id: '', | |
attachmentId: 0, | |
aspectRatio: '1:1', | |
suggestedWidth: '500', | |
suggestedHeight: '500', | |
nonce: '', |
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://playground.wordpress.net/blueprint-schema.json", | |
"preferredVersions": { | |
"php": "8.0", | |
"wp": "6.5" | |
}, | |
"features": { | |
"networking": true | |
}, | |
"phpExtensionBundles": [ |
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: Fullscreen Admin Panel. | |
* Plugin URI: https://dlxplugins.com | |
* Description: A demo plugin to create a fullscreen admin panel. | |
* Version: 1.0.0 | |
* Requires at least: 6.0 | |
* Requires PHP: 7.3 | |
* Author: DLX Plugins | |
* Author URI: https://dlxplugins.com |
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: DLX Change Image Attributes | |
* Plugin URI: https://dlxplugins.com | |
* Description: Change the align and default link settings for an image. | |
* Version: 1.0.0 | |
* Requires at least: 6.0 | |
* Requires PHP: 7.3 | |
* Author: Ronald Huereca | |
* Author URI: https://mediaron.com |
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: DLX Change Paragraph Placeholder | |
* Plugin URI: https://dlxplugins.com | |
* Description: Change the placeholder text for the paragraph block. | |
* Version: 1.0.0 | |
* Requires at least: 6.0 | |
* Requires PHP: 7.3 | |
* Author: Ronald Huereca | |
* Author URI: https://mediaron.com |
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: Memberships Plus | |
* Plugin URI: https://dlxplugins.com/plugins/ | |
* Description: A Pro membership plugin. | |
* Version: 1.0.0 | |
* Requires at least: 5.8 | |
* Requires PHP: 7.2 | |
* Author: DLX Plugins | |
* Author URI: https://dlxplugins.com |
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: DLX Remove Block Patterns | |
* Plugin URI: https://dlxplugins.com/plugins/alertsdlx/ | |
* Description: Remove Block Patterns and third-party patterns. | |
* Version: 1.1.0 | |
* Requires at least: 6.0 | |
* Requires PHP: 7.2 | |
* Author: DLX Plugins | |
* Author URI: https://dlxplugins.com |
NewerOlder