add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
/*
* The Events Calendar - Make code empty if it's 0 or Free
*/
add_filter ( 'tribe_get_cost', 'tribe_not_show_free', 10, 3 );
function tribe_not_show_free ( $cost, $post_id, $with_currency_symbol ) {
if ( $cost == 0 || $cost == 'Free' ) {
$cost = '';
}
return $cost;
}
function ru_conditional_email_template( $search_replace, $sanitized_data ) {
$member_message = 'Member luncheon: $30.00 payable in cash or cheque due on the day of luncheon.';
$non_member_message = 'Non-member luncheon: $50.00 payable in cash or cheque due on the day of luncheon; Special Offer: Non-members have your first lunch at the Member rate of $30.00.';
$search_replace['{conditional-message}'] = $non_member_message;
if ( isset( $sanitized_data['are-you-a-memberf'] ) && $sanitized_data['are-you-a-memberf'] === 'Yes' ) {
$search_replace['{conditional-message}'] = $member_message;
}
return $search_replace;
}
add_filter( 'rtec_email_templating', 'ru_conditional_email_template', 10, 2 );
/*
add_filter('pre_wp_mail', 'wp_disable_emails');
function wp_disable_emails() {
return false;
}
*/
/*
function add_captcha_to_pdb_form($content) {
$captcha_html = '
Event pricing $25 for Members and $30 for Non-members
Workshop $80.
– unless stated otherwise
Lunches are now every Thursday but could be the 3rd or the 4th Thursday of the month.
*Note: If you need to cancel your RSVP please email Joan@Kuritec.com
‘Tis the season to get artsy! Grab your coworkers and join us for a guided holiday paint party — the perfect way to relax, laugh, and bond before the year […]
Six Nations Polytechnic
411 Elgin Street, Brantford
This speaker series will attempt to redefine what it means to create an inclusive workplace—where every person, from every background, identity, and lived experience, is not only welcomed but valued. […]
Best Western Brantford Hotel and Conference Centre
19 Holiday Drive, Brantford
The Do’s and Don’ts of Employment Contracts: Best Practices for Ensuring Transparency, Trust, and Protection Employment contracts are one of the most important tools for setting the foundation of a […]