set hardcoded template for content
Some checks failed
Some checks failed
This commit is contained in:
parent
62c4e87fb2
commit
3975386a52
1 changed files with 10 additions and 0 deletions
|
@ -54,6 +54,16 @@ abstract class Event extends Post {
|
||||||
return comments_open( $this->wp_object );
|
return comments_open( $this->wp_object );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set a hardcoded template for the content.
|
||||||
|
*
|
||||||
|
* This actually disabled templates for the content.
|
||||||
|
* Maybe this independent templates for events will be added later.
|
||||||
|
*/
|
||||||
|
protected function get_post_content_template(): string {
|
||||||
|
return '[ap_content]';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the title of the event.
|
* Returns the title of the event.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue