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 | |
/** | |
* Redirect admins to the dashboard and other users to //kmizs.com/user/ | |
*/ | |
add_filter( 'login_redirect', 'codeable_custom_login_redirect', 11, 3 ); | |
function codeable_custom_login_redirect( $redirect_to, $request, $user ) { | |
if ( is_array( $user->roles ) ) { | |
if ( in_array( 'administrator', $user->roles ) ) { |
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 | |
/** | |
* Encodes data into an unsubscribe token | |
* @param ARRAY $params contains: lead_id (INT ), list_ids (MIXED), email_id (INT) | |
* @return INT $token | |
*/ | |
public static function encode_unsubscribe_token( $params ) { | |
if (isset($params['doing_wp_cron'])) { | |
unset($params['doing_wp_cron']); |
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 | |
/* | |
Trigger Name: WordPress user creation event | |
Trigger Description: This fires whenever a new user is created | |
Trigger Author: Inbound Now | |
Contributors: Hudson Atwell | |
*/ | |
/* First lets make sure this class is being called nowhere else */ | |
/* When repurpousing this class for a new use please replace User_Register with the appropiate string */ |
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 if (!defined('ABSPATH')) exit; | |
/** | |
* Class NF_Action_Save | |
*/ | |
if (class_exists('NF_Abstracts_Action')) { | |
final class NF_Actions_Inbound_Store_Lead extends NF_Abstracts_Action { | |
/** | |
* @var string |
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
<style type="text/css"> | |
{%php $has_image = "{{image-url}}"; if($has_image){ return '#cta_content_left, #cta_content_right {display: inline-block !important;} #cta_content_centered{ display: none !important; }';}else{ return '#cta_content_centered{ display: inline-block !important;} #cta_content_left, #cta_content_right { display: none !important; }';} %} | |
.wp_cta_container { | |
text-align: center; | |
font-family: 'proxima_nova_regular', arial, sans-serif; | |
} | |
.wp_cta_container #cta-link { | |
} |
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 | |
/** | |
* Template Name: Acacia | |
* @package WordPress Landing Pages | |
* @author Inbound Template Generator | |
*/ | |
/* Declare Template Key */ | |
$key = basename(dirname(__FILE__)); |
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 | |
/** | |
* Template Name: Lime App | |
* @package WordPress Landing Pages | |
* @author Inbound Template Generator | |
*/ | |
/* Declare Template Key */ | |
$key = basename(dirname(__FILE__)); |
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 | |
/** | |
* Template Name: DSC-LP Template | |
* | |
* @package WordPress Landing Pages | |
* @author CCB Creative | |
* @link http://www.ccbcreative.com | |
* @version 1.1 | |
*/ |
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 | |
/** | |
* Sends email using Inbound Now's mandrill sender | |
*/ | |
public static function send_email( $send_now = false) { | |
$settings = Inbound_Mailer_Settings::get_settings(); | |
$mandrill = new Inbound_Mandrill( $settings['api_key'] ); |
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: Inbound Extension - Ninja Forms | |
Plugin URI: http://www.inboundnow.com/market/support-will-complete | |
Description: Provides Ninja Forms 3.0 integration & field mapping | |
Version: 1.0.1 | |
Author: Inbound Now | |
Author URI: http://www.inboundnow.com/ | |
*/ |