wordpress-activitypub/includes/transformer
Matthias Pfefferle 7806285d88
Support "read more" for Activity-Summary (#856)
* Support "read more" for Activity-Summary

* add support for excerpt

* use the same function also for the shortcode

* add mentions, hashtags and links support to `the_excerpt`

* do not make unnecessary extra db calls

* fall back to default if options is empty

* remove unused hook

* some fixes

and improvements based on the feedback of @MatzeKitt

* add phpdoc

* also extract hashtags from excerpt

* use filter, so that it is possible to also support mentions

and maybe tags in the future

* Add PHPDoc

* simplify code

* fix test
2024-08-16 12:53:14 +02:00
..
class-attachment.php A better default content handling based on the Object Type (#661) 2024-02-29 14:47:10 +01:00
class-base.php Improve transformer (#731) 2024-05-16 15:14:31 +02:00
class-comment.php appease the linter 2024-05-29 13:18:27 -05:00
class-factory.php Improve transformer (#731) 2024-05-16 15:14:31 +02:00
class-post.php Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00