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 trueGoogle404_showlink() | |
{ | |
$a=get_option('tG404mis');echo '<span style="font-size:8px;">'; | |
if($a===false) | |
{ |
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 | |
/** | |
* Convenience function to allow linking to a checkout page and adding the product to the cart in one swoop. | |
*/ | |
function edd_add_to_cart_by_get( ) { | |
if ( edd_is_checkout() ) { | |
if ( isset( $_GET['edd_add_to_cart'] ) ) { | |
edd_add_to_cart( intval( $_GET['edd_add_to_cart'] ) ); | |
} |
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 | |
// You can add the code below to your theme's functions.php | |
/** | |
* Filter the vid array to include thumbnail. | |
* | |
* @param array $vid The video array as determined by the indexation process | |
* | |
* @return array |