wordpress-activitypub/includes/collection
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-extra-fields.php Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00
class-followers.php some phpcs fixes (#590) 2023-12-07 12:30:44 +01:00
class-interactions.php fix #571 (again) 2024-07-03 12:52:21 +02:00
class-users.php add migration for 2.7.0 2024-07-22 11:16:38 +02:00