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 | |
// The unzip script | |
// This script lists all of the .zip files in a directory | |
// and allows you to select one to unzip. Unlike CPanel's file | |
// manager, it _will_ overwrite existing files. | |
// | |
// To use this script, FTP or paste this script into a file in the directory | |
// with the .zip you want to unzip. Then point your web browser at this | |
// script and choose which file to unzip. |
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 | |
add_filter( 'wc_gzdp_invoice_shortcodes', 'my_child_add_invoice_shortcode', 10, 1 ); | |
function my_child_add_invoice_shortcode( $shortcodes ) { | |
$shortcodes['example_shortcode_name'] = 'my_child_example_shortcode_name'; | |
return $shortcodes; | |
} | |
function my_child_example_shortcode_name( $atts, $content = '' ) { |