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
Best Western Brantford Hotel and Conference Centre
19 Holiday Drive, Brantford
This presentation is an overview of the Supervisor Training Sessions DC offers to workplaces. Tom Wilson will highlight the content of DriverCheck’s supervisor training sessions and the importance of having […]
Best Western Brantford Hotel and Conference Centre
19 Holiday Drive, Brantford
Dennis Touesnard Bio: Dennis, a Brantford native, was called to the Ontario Bar in 2006. Dennis’ practice encompasses all areas of civil and commercial litigation, including employment law, personal injury […]
Best Western Brantford Hotel and Conference Centre
19 Holiday Drive, Brantford
Best Western Hotel & Conference Centre (19 Holiday Drive, Brantford, ON) 11:30 am – 11:45 am Registration & Networking 11:45 am – 12:15 pm Lunch 12:15 pm – 1:15 pm […]