transformer_refactoring #44
1 changed files with 10 additions and 0 deletions
|
@ -54,6 +54,16 @@ abstract class Event extends Post {
|
|||
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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue