• Hello,
    1- How can i do for setting a registration only for admin and editor members ?
    2- Where i can setting an event which is create by editor members (and admin also) ?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author roundupwp

    (@roundupwp)

    Hey cannellehypollite,

    For #1, you can use a custom PHP snippet for this:

    function ru_filter_event_meta( $event_meta ) {
    
    	if ( ! current_user_can( 'edit_posts' ) ) {
    		$event_meta['registrations_disabled'] = true;
    	}
    
    	return $event_meta;
    }
    add_filter( 'rtec_event_meta', 'ru_filter_event_meta' );

    You can either create your own plugin with this code or add it to your functions.php file.

    For #2, I’m afraid I don’t quite understand. Can you explain it a bit more?

    Thanks!

    Craig

Viewing 1 replies (of 1 total)
  • The topic ‘Only Admin and editor can create and subscribe to the event’ is closed to new replies.