transformer_refactoring #44

Merged
linos merged 42 commits from transformer_refactoring into main 2024-10-02 19:15:29 +02:00
3 changed files with 0 additions and 52 deletions
Showing only changes of commit 608e18f8c1 - Show all commits

View file

@ -36,45 +36,6 @@ final class Events_Manager extends Event_Transformer {
*/
protected $em_event;
/**
* Get transformer name.
*
* Retrieve the transformers name.
*
* @since 1.0.0
* @access public
* @return string Widget name.
*/
public function get_transformer_name() { // todo can we remove this or is this in use?
return 'activitypub-event-transformers/events-manager';
}
/**
* Get transformer title.
*
* Retrieve the transformers label.
*
* @since 1.0.0
* @access public
* @return string Widget title.
*/
public function get_transformer_label() { // todo can we remove this or is this in use?
return 'Events Manager';
}
/**
* Get supported post types.
*
* Retrieve the list of supported WordPress post types this transformer widget can handle.
*
* @since 1.0.0
* @access public
* @return array Widget categories.
*/
public static function get_supported_post_types() { // todo can we remove this or is this in use?
return array();
}
/**
* Returns whether the even is online
*

View file

@ -24,13 +24,6 @@ use GatherPress\Core\Event as GatherPress_Event;
*/
final class GatherPress extends Event {
/**
* The target ActivityPub Event object of the transformer.
*
* @var Event
*/
protected $ap_object; // todo can we remove this or is this in use?
/**
* The current GatherPress Event object.
*

View file

@ -23,12 +23,6 @@ use Activitypub_Event_Extensions\Activitypub\Transformer\Event as Event_Transfor
* @since 1.0.0
*/
final class VS_Event_List extends Event_Transformer {
/**
* The target transformer ActivityPub Event object.
*
* @var Event
*/
protected $ap_object; // todo can we remove this or is this in use?
/**
* Get the event location.