• Roundup WP
  • Blog
  • Products
    • Registrations for the Events Calendar
      • Setup (free)
    • Registrations for the Events Calendar Pro
      • Buy Now
      • Setup (Pro)
      • Demo
    • Stripe Extension
      • Buy Now
      • Setup
    • Discount Codes Extension
      • Buy Now
      • Setup
  • Support
    • FAQs and Troubleshooting
    • Codex
    • Contact Support
  • My Account

Filter: rtec_event_meta

Posted on August 9, 2017

rtec_event_meta is a filter for the event_meta array before it’s returned by the function “rtec_event_meta”. It accepts an argument of the event_meta that has been created based on the event’s settings.

Usage

<?php add_filter( 'rtec_event_meta', 'function_name' ); ?>

Changelog

Pro
1.3 – introduced

Free
2.0 – introduced

Example: No Registration Limit for Logged-in Users

function ru_filter_event_meta( $event_meta ) {

	if ( is_user_logged_in() ) {
		$event_meta['limit_registrations'] = false;
	}

	return $event_meta;
}
add_filter( 'rtec_event_meta', 'ru_filter_event_meta' );
Registrations for the Events Calendar Pro logo
Easily collect payments for your events...

© 2019 Roundup WP LLC. ◦ Privacy Policy ◦ Terms and Conditions ◦