HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/studis.kauko.lt/wp-content/plugins/the-events-calendar/src/Tribe/REST/V1/Auth.php
<?php


class Tribe__Events__REST__V1__Auth {
	public function can_post_event() {
		$post_type = get_post_type_object( Tribe__Events__Main::POSTTYPE );

		return current_user_can( $post_type->cap->create_posts );
	}
}