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
Satori Consulting Inc. Strategic Planning, Governance, Analytics, Leadership & Coaching Align, Link, Measure and Adapt: Develop an Organizational Structure that is built to last In this session, Sandi Verrecchia will share her perspective on why so many good organizations face internal conflict and inefficiencies. While all organizational structures are different, the challenges are often similar. […]