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: WooCommerce <enter name> Gateway | |
Plugin URI: http://woothemes.com/woocommerce | |
Description: Extends WooCommerce with an <enter name> gateway. | |
Version: 1.0 | |
Author: WooThemes | |
Author URI: http://woothemes.com/ | |
Copyright: © 2009-2011 WooThemes. |
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: Pug Bomb API Endpoint | |
Description: Adds an API endpoint at /api/pugs/$n_pugs | |
Version: 0.1 | |
Author: Brian Fegter | |
Author URL: http://coderrr.com | |
*/ | |
class Pugs_API_Endpoint{ |
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 | |
/** | |
* Milestone Sale Alerts | |
* Be notified when a specific download is sold X times. | |
*/ | |
function sumobi_edd_milestone_sales_alert( $purchase_id ) { | |
// ID of download to check | |
$download_id = 8; |
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 | |
function sumobi_edd_purchase_link_show_featured_image( $download_id ) { | |
echo get_the_post_thumbnail( $download_id, 'thumbnail' ); | |
} | |
add_action( 'edd_purchase_link_top', 'sumobi_edd_purchase_link_show_featured_image' ); |
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 | |
function sumobi_edd_terms_agreement() { | |
global $edd_options; | |
if ( isset( $edd_options['show_agree_to_terms'] ) ) { | |
?> | |
<fieldset id="edd_terms_agreement"> | |
<div id="edd_terms"> | |
<?php | |
do_action( 'edd_before_terms' ); |
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
[apple_trailers] |
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: Beautiful Car Collection | |
* Plugin URI: http://www.sebastiendumont.com/beautiful-car-collection | |
* Description: List your collection of standard, tuned or custom cars with full details along with beautiful photos taken of your cars. | |
* Version: 1.0.0 | |
* Author: Sébastien Dumont | |
* Author URI: http://www.sebastiendumont.com | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
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
// Download Type | |
woocommerce_wp_select( array( 'id' => '_download_type', 'label' => __( 'Download Type', 'woocommerce' ), 'options' => array( | |
'application' => __( 'Application/Software', 'woocommerce' ), | |
'music' => __( 'Music', 'woocommerce' ), | |
) ) ); |
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
add_action( 'woocommerce_before_single_product', 'woocommerce_product_schema', 10 ); |
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 /* The beginning of the product container is added by the hook - woocommerce_product_schema */ ?> |
OlderNewer