HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //home/globfdxw/www/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 );
	}
}