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: Tracking Info to WooCommerce order | |
Plugin URI: https://www.damiencarbery.com/2020/01/add-tracking-info-to-woocommerce-order/ | |
Description: Use CMB2 to add a custom metabox to add tracking information to WooCommerce orders. The information is then added to the "Completed Order" email. | |
Author: Damien Carbery | |
Author URI: https://www.damiencarbery.com | |
Version: 0.2 | |
$Id: tracking-info-to-wc-order.php 4947 2020-01-04 14:52:28Z damien $ |
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 | |
rs::metabox(array( | |
'title' => 'Select custom date sale', | |
'layout' => 'none', | |
'rules' => array( | |
'post_type' => 'product' | |
), | |
'context' => 'normal', | |
'priority' => 'default', | |
'controls' => array( |
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 | |
########### wp replace url in DB ############# | |
1 | |
http://dugoodr.com | |
http://dugoodr2.dev | |
2 | |
/home/dugoodr6/public_html/ | |
/home/jetfire/www/dugoodr2.dev/ |
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 | |
/** | |
* Create a metabox with multiple fields. | |
* Replace `_namespace` with some namespace for your project to avoid conflicts with other items | |
*/ | |
// | |
// Create Metabox | |
// |
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: Custom note to order email | |
Plugin URI: https://www.damiencarbery.com/2018/07/add-info-to-woocommerce-order-emails/ | |
Description: Add a note to the order email if the order contains products from the specified category. | |
Author: Damien Carbery | |
Version: 0.1 | |
*/ | |
/* Add note about shapetrousers delivery time to the order email. */ |
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: Inject Adverts into Posts and Pages | |
Plugin URI: https://www.damiencarbery.com/2019/09/inject-adverts-into-posts-and-pages/ | |
Description: Inject a specified page or widget area into post or page content. | |
Author: Damien Carbery | |
Author URI: https://www.damiencarbery.com | |
Version: 0.1 | |
*/ |
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
# Block WordPress xmlrpc.php requests. | |
<Files xmlrpc.php> | |
deny from all | |
</Files> | |
# Block direct access to wp-config.php. | |
<Files wp-config.php> | |
Deny from all | |
</Files> |
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: Send email via SMTP | |
Plugin URI: https://www.damiencarbery.com/2019/01/send-wordpress-emails-with-smtp/ | |
Description: Send emails via SMTP. | |
Author: Damien Carbery | |
Version: 0.1 | |
*/ |
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: Move Variations above Short Description | |
Plugin URI: https://www.facebook.com/groups/advanced.woocommerce/permalink/2114573521890389/ | |
Description: Move the variations and Add to Cart to be above the short description. | |
Author: Damien Carbery | |
Author URI: https://www.damiencarbery.com | |
Version: 0.1 | |
*/ |
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: Disable CF7 plugin | |
Plugin URI: http://www.damiencarbery.com | |
Description: Disable Contact Form 7 plugin except for certain pages. | |
Author: Damien Carbery | |
Version: $Revision: $ | |
$Id: $ | |
*/ |