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
{if $invoice_payment_method eq "Boleto Bancário"} | |
<br /> | |
<a class="paybuttom" href="{$whmcs_url}auth.php?email={$client_email}&userid={$client_id}&firstname={$client_first_name}&lastname={$client_last_name}&hash={$hash}&whmcsurl={$whmcs_url}&goto=viewinvoice.php?id={$invoice_id}">Visualizar Boleto</a> | |
<br /> | |
{else} | |
<br /> | |
<a class="paybuttom" href="{$whmcs_url}auth.php?email={$client_email}&userid={$client_id}&firstname={$client_first_name}&lastname={$client_last_name}&hash={$hash}&whmcsurl={$whmcs_url}&goto=viewinvoice.php?id={$invoice_id}">Visualizar Fatura</a> | |
<br /> | |
{/if} |
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 | |
/** | |
* Include custom code in template head | |
* © 2017 gofas.net | |
* | |
*/ | |
add_hook( 'ClientAreaHeadOutput', 1, function( $vars ) { | |
$gofas_js_css = array(); | |
$gofas_js_css['gofas_js_css'] =' |
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 | |
/** | |
* | |
* Massive remove users from blog | |
* remove_users_from_blog_based_userdata.php | |
* | |
*/ | |
// Load WP components, no themes | |
define('WP_USE_THEMES', false); |
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 | |
/** | |
* Custom affliates redirects | |
* © 2017 gofas.net | |
* | |
*/ | |
add_hook( 'AffiliateClickthru', 1, function( $vars ) { | |
if ( $vars['affiliateId'] == 6 ) { // ID do afiliado | |
header( 'Location: https://example.com/custom-slug/' ); // Link para redirecionar visitantes indicados por esse afiliado | |
exit; |
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 | |
/** | |
* Auto Login Hash Merge Tag Email Template ( Versão resumida ) | |
* @author Mauricio Gofas | gofas.net | |
* @copyright Copyright (c) 2016 https://gofas.net | |
*/ | |
// Modelo de URL para colar no template de email: | |
// {$whmcs_url}auth.php?email={$client_email}&hash={$hash}&whmcsurl={$whmcs_url}&goto=viewinvoice.php?id={$invoice_id} | |
$autoauthkey = "xxxxx_autoauthkey_xxxxx"; // chave igual à inserida no arquivo /configuration.php |
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
{$whmcs_url}auth.php?email={$client_email}&uid={$client_id}&uname={$client_first_name}{$client_last_name}&hash={$hash}&whmcsurl={$whmcs_url}&goto={$ticket_link} |
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
{$whmcs_url}auth.php?email={$client_email}&uid={$client_id}&uname={$client_first_name}{$client_last_name}&hash={$hash}&whmcsurl={$whmcs_url}&goto=clientarea.php?action=details |
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
{$whmcs_url}auth.php?email={$client_email}&uid={$client_id}&uname={$client_first_name}{$client_last_name}&hash={$hash}&whmcsurl={$whmcs_url}&goto=viewinvoice.php?id={$invoice_id} |
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
{ | |
"event_types":[ | |
{ | |
"name":"BILLING.PLAN.CREATED", | |
"description":"This event is triggered when a billing plan is created.", | |
"status":"ENABLED" | |
}, | |
{ | |
"name":"BILLING.PLAN.UPDATED", | |
"description":"This event is triggered when a billing plan is updated.", |