File "Auth.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/src/Tribe/REST/V1/Auth.php
File size: 218 bytes
MIME-type: text/x-php
Charset: utf-8
<?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 );
}
}