/** * BikeYard Welcome Email Handler v3.0 – FIXED * Complete solution for welcome email issues * * Add as WPCode snippet: * – Title: BikeYard Welcome Email v3 Fixed * – Location: Everywhere * – Priority: 10 * –…Continue reading
/** * BikeYard Webhook Handler v5.0 – FIXED EMAIL TRIGGER * Properly triggers welcome emails by sending them BEFORE exit * * REPLACES: bikeyard-webhook-handler-v4.php * * Add as WPCode snippet: * – Title: BikeYard Webhook Handler v5 Fixed * –…Continue reading
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading
/** * Welcome Email Add-on * This ensures welcome emails are sent when users are created * Add as WPCode snippet – set to “Everywhere” * Version: 2.0 – Modern HTML email with button styling */ // Send welcome email…Continue reading
function custom_sale_popup() { ?> Big Sale Coming Soon! Stay Tuned for Amazing Discounts! Learn moreContinue reading
add_action( ‘init’, function(){ global $allowedtags; // ensure span is defined if ( ! isset( $allowedtags[‘span’] ) ) { $allowedtags[‘span’] = []; } // add style attribute (an empty array means “any value” but kses will later pare it down) $allowedtags[‘span’][‘style’]…Continue reading
function wpcode_send_new_user_notifications( $user_id, $notify = ‘user’ ) { if ( empty( $notify ) || ‘admin’ === $notify ) { return; } elseif ( ‘both’ === $notify ) { // Send new users the email but not the admin. $notify =…Continue reading
/** * This is just a demonstration of how theme licensing works with * Easy Digital Downloads. * * @package EDD Sample Theme */ /** * Load theme updater functions. * Action is used so that child themes can easily…Continue reading
/** * Plugin Name: AAA Sample Plugin * Plugin URI: https://easydigitaldownloads.com * Description: Illustrates how to include an updater in your plugin for EDD Software Licensing. * Author: Sandhills Development, LLC * Author URI: https://easydigitaldownloads.com * Version: 1.0.0 * License:…Continue reading
function add_categories_to_pages() { register_taxonomy_for_object_type( ‘category’, ‘page’ ); } add_action( ‘init’, ‘add_categories_to_pages’ ); function add_tags_to_pages() { register_taxonomy_for_object_type( ‘post_tag’, ‘page’ ); } add_action( ‘init’, ‘add_tags_to_pages’);Continue reading