refactoring
Some checks failed
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Failing after 6s
Some checks failed
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Failing after 6s
make get_supported_post_types static
This commit is contained in:
parent
88e5f9aba8
commit
89ffb3d797
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class Tribe extends \Activitypub\Transformer\Base {
|
||||||
* @access public
|
* @access public
|
||||||
* @return array Widget categories.
|
* @return array Widget categories.
|
||||||
*/
|
*/
|
||||||
public function get_supported_post_types() {
|
public static function get_supported_post_types() {
|
||||||
return array( 'tribe_events' );
|
return array( 'tribe_events' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,7 @@ class VS_Event extends \Activitypub\Transformer\Base {
|
||||||
* @access public
|
* @access public
|
||||||
* @return array Widget categories.
|
* @return array Widget categories.
|
||||||
*/
|
*/
|
||||||
public function get_supported_post_types() {
|
public static function get_supported_post_types() {
|
||||||
return array( 'event' );
|
return array( 'event' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue