if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_CreditCardZip */ class NF_Fields_CreditCardZip extends NF_Fields_Zip { protected $_name = 'creditcardzip'; protected $_type = 'creditcardzip'; protected $_section = ''; protected $_icon = 'credit-card'; protected $_templates = array( 'zip', 'textbox' ); public function __construct() { parent::__construct(); $this->_nicename = __( 'Credit Card Zip', 'ninja-forms' ); add_filter( 'nf_sub_hidden_field_types', array( $this, 'hide_field_type' ) ); } function hide_field_type( $field_types ) { $field_types[] = $this->_name; return $field_types; } } if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_Date */ class NF_Fields_Date extends NF_Fields_Textbox { protected $_name = 'date'; protected $_nicename = 'Date'; protected $_section = 'common'; protected $_icon = 'calendar'; protected $_type = 'date'; protected $_templates = 'date'; protected $_test_value = '12/12/2022'; protected $_settings = array( 'date_default', 'date_format' ); protected $_settings_exclude = array( 'default', 'placeholder', 'input_limit_set', 'disable_input' ); public function __construct() { parent::__construct(); $this->_nicename = __( 'Date', 'ninja-forms' ); } public function process( $field, $data ) { foreach( $data[ 'fields' ] as $key => $field ){ if( 'date' != $field[ 'type' ] ) continue; if( ! isset( $field[ 'date_format' ] ) || ! $field[ 'date_format' ] ) continue; $format = $this->get_format( $field[ 'date_format' ] ); $data[ 'fields' ][ $key ][ 'value' ] = date( $format, strtotime( $field[ 'value' ] ) ); } return $data; } private function get_format( $format ) { $lookup = array( 'DD/MM/YYYY' => 'm/d/Y', 'DD-MM-YYYY' => 'd-m-Y', 'MM/DD/YYYY' => 'm/d/Y', 'MM-DD-YYYY' => 'm-d-Y', 'YYYY-MM-DD' => 'Y-m-d', 'YYYY/MM/DD' => 'Y/m/d', 'dddd, MMMM D YYYY' => 'l, F d Y' ); return ( isset( $lookup[ $format ] ) ) ? $lookup[ $format ] : $format; } } if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_Email */ class NF_Fields_Email extends NF_Abstracts_UserInfo { protected $_name = 'email'; protected $_nicename = 'Email'; protected $_type = 'email'; protected $_section = 'userinfo'; protected $_icon = 'envelope-o'; protected $_templates = 'email'; protected $_test_value = 'foo@bar.dev'; public function __construct() { parent::__construct(); $this->_nicename = __( 'Email', 'ninja-forms' ); } public function filter_default_value( $default_value, $field_class, $settings ) { if( ! isset( $settings[ 'default_type' ] ) || 'user-meta' != $settings[ 'default_type' ] || $this->_name != $field_class->get_name()) return $default_value; $current_user = wp_get_current_user(); if( $current_user ){ $default_value = $current_user->user_email; } return $default_value; } } if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_FirstName */ class NF_Fields_FirstName extends NF_Abstracts_UserInfo { protected $_name = 'firstname'; protected $_type = 'firstname'; protected $_nicename = 'First Name'; protected $_section = 'userinfo'; protected $_icon = 'user'; protected $_templates = 'firstname'; protected $_test_value = 'John'; public function __construct() { parent::__construct(); $this->_nicename = __( 'First Name', 'ninja-forms' ); } public function filter_default_value( $default_value, $field_class, $settings ) { if( ! isset( $settings[ 'default_type' ] ) || 'user-meta' != $settings[ 'default_type' ] || $this->_name != $field_class->get_name()) return $default_value; $current_user = wp_get_current_user(); if( $current_user ){ $default_value = $current_user->user_firstname; } return $default_value; } } 1 Avalanche Studio – Graphic Design, Art, Invitations

Our Services

Portfolio

  • All
  • Illustrations
  • Typography

About Us

Hello! My name is Beth and I like to design things! I am a freelance graphic designer & illustrator based in Perth, WA, Australia. I specialise in invitations of any kind (weddings, birthdays, anniversaries, hens nights/kitchen teas). I also enjoy illustrating animals and making them into coasters. You can purchase any of my illustrations and coasters on my etsy page www.etsy.com/au/shop/AvalancheStudio

Customer Testimonials

Instagram

Provided Instagram Access Token is invalid. Get your valid Access Token here.

Contact Us

  • Say Hello

  • Beth Wilkinson

    Western Australia

    +61416240454
  • [contact-form-7 404 "Not Found"]
  • Contact me using the info across for any invitation/illustrations/corporate work you're enquiring about.

    Newsletter Subscription

    [contact-form-7 404 "Not Found"]