add status to tribe
All checks were successful
All checks were successful
This commit is contained in:
parent
1153bce8e2
commit
c8eedafb13
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ final class The_Events_Calendar extends Event {
|
||||||
*
|
*
|
||||||
* @return string status of the event
|
* @return string status of the event
|
||||||
*/
|
*/
|
||||||
public function get_tribe_status() {
|
public function get_status() {
|
||||||
if ( 'canceled' === $this->tribe_event->event_status ) {
|
if ( 'canceled' === $this->tribe_event->event_status ) {
|
||||||
return 'CANCELLED';
|
return 'CANCELLED';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue