wordpress-activitypub/includes
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
..
activity Add "reply context" support (#819) 2024-07-24 23:44:01 +02:00
collection Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00
handler Update class-create.php (#801) 2024-07-09 16:32:43 +02:00
model Add Blog extra fields (#838) 2024-08-09 09:40:35 -05:00
rest simplified WebFinger code 2024-08-02 10:31:42 +02:00
table Normalize attributes that can have mixed value types (#586) 2023-12-05 18:59:00 +01:00
transformer Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00
class-activity-dispatcher.php Add "reply context" support (#819) 2024-07-24 23:44:01 +02:00
class-activitypub.php Hide Bookmarklet if site does not support Blocks (#851) 2024-08-13 00:34:56 +02:00
class-admin.php Add Blog extra fields (#838) 2024-08-09 09:40:35 -05:00
class-blocks.php Add "reply context" support (#819) 2024-07-24 23:44:01 +02:00
class-comment.php ignore phpcs error 2024-07-19 23:26:35 +02:00
class-debug.php always use print_r 2024-08-16 10:46:11 +02:00
class-handler.php Basic Announce support (#747) 2024-05-02 10:13:34 +02:00
class-hashtag.php Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00
class-health-check.php fix health check 2024-07-25 16:30:35 +02:00
class-http.php Basic Announce support (#747) 2024-05-02 10:13:34 +02:00
class-link.php Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00
class-mention.php Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00
class-migration.php use 3.0.0 2024-07-26 13:51:03 +02:00
class-notification.php Notifications: introduce general class and use it for new follows (#761) 2024-05-16 16:03:03 -05:00
class-scheduler.php Add Blog extra fields (#838) 2024-08-09 09:40:35 -05:00
class-shortcodes.php Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00
class-signature.php Some fixes to be compatible with discourse (#736) 2024-04-26 14:59:45 +02:00
class-webfinger.php phpcs improvements 2024-07-26 10:26:47 +02:00
compat.php fix #620 2023-12-23 20:31:42 +01:00
debug.php phpcs improvements 2024-07-26 10:26:47 +02:00
functions.php Support "read more" for Activity-Summary (#856) 2024-08-16 12:53:14 +02:00
help.php Clarifying what [ap_excerpt] does (#578) 2023-11-26 21:18:03 +01:00