Skip to content

Instantly share code, notes, and snippets.

@panoslyrakis
panoslyrakis / tests.php
Created February 22, 2022 15:11
This is a test gist file
<?php
echo "added to repo via PHPStorm using PAT";
// add code
echo "Nice works.";
@panoslyrakis
panoslyrakis / test-file.js
Last active January 10, 2022 11:00
Testing again
// add code
alert( 'Tho it is working for me' );
@panoslyrakis
panoslyrakis / file3.php
Last active January 10, 2022 09:07
Test
// add code
&lt;?php
echo &#039;1&#039;;
@panoslyrakis
panoslyrakis / replace-woo-order-customer-ids.php
Created December 3, 2021 16:00
[General] - Replace Woocommerce orders customer ids.
<?php
/**
* Plugin Name: [General] - Replace Woocommerce orders customer ids.
* Description: [General] - Replace Woocommerce orders customer ids.
* Author: Panos Lyrakis @ WPMUDEV
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
if ( ! defined( 'ABSPATH' ) || ( defined( 'WP_CLI' ) && WP_CLI ) ) {
return;
@panoslyrakis
panoslyrakis / bannedwords.csv.zip
Last active July 21, 2022 17:52
[Forminator] - Banned words
@panoslyrakis
panoslyrakis / convert-array-to-query-string.php
Last active August 31, 2018 19:49
Convert an array to a query string
<?php
/**
* Plugin Name: Convert array to query string
* Plugin URI: https://gist.github.com/panoslyrakis
* Description: Convert an array to a query string. Usefull when you have a huge array with several keys and need it be converted into query string.
* Author: Panos Lyrakis
* Author URI: https://gist.github.com/panoslyrakis
* License: GPLv2 or later
*/
@panoslyrakis
panoslyrakis / ms-paypal-log.php
Created August 28, 2018 15:42
[Membership 2] - PayPal Payment Logs
<?php
/**
* Plugin Name: [Membership 2] - PayPal Payment Logs
* Plugin URI: https://premium.wpmudev.org/
* Description: Logs PayPal Payments
* Author: Panos Lyrakis @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* License: GPLv2 or later
*/
if ( ! defined( 'ABSPATH' ) ) {
@panoslyrakis
panoslyrakis / wpmudev-shared-terms-multisite.php
Created November 23, 2017 10:16
[WordPress MultiSite General] - Fix shared terms in multisite
<?php
/**
* Plugin Name: [WordPress MultiSite General] - Fix shared terms in multisite
* Plugin URI: https://premium.wpmudev.org/
* Description: A custom solution to fix shared terms in multisite
* Author: Panos Lyrakis @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* License: GPLv2 or later
*/
if ( ! defined( 'ABSPATH' ) ) {
This is a test