From 1af543a4876c94bbadc39ea05755dec65c32b691 Mon Sep 17 00:00:00 2001 From: Marco Hitschler Date: Thu, 29 May 2025 11:07:36 +0200 Subject: [PATCH] Closing Filter Name --- readme.md | 4 ++++ unmus_tootpress.php | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index d0d100c..1ea1a43 100644 --- a/readme.md +++ b/readme.md @@ -143,6 +143,10 @@ Standard features of the following plugins will be manipulated or extended. * Create Cannonical URLs for TootPress and Mathilda Pages * Create NEXT and PREV Links for TootPress and Mathilda Pages +### TootPress + +* Add Closing Remark + ### UpdraftPlus * Fade out the annoying Message on Upgrade Page diff --git a/unmus_tootpress.php b/unmus_tootpress.php index 822ddd9..b996b6b 100644 --- a/unmus_tootpress.php +++ b/unmus_tootpress.php @@ -11,22 +11,22 @@ if (!defined('ABSPATH')) { exit; } /** - * Afterloop Filter + * Closing Filter * * @since 0.9 * */ -function tootpress_afterloop_add( $content ) { +function tootpress_closing_add( $content ) { $domain=get_site_url(); $path='/tweets/'; - $content='

Vor Mastodon war Twitter.
Tweets lesen

'; + $content='

Vor Mastodon war Twitter.
Tweets lesen

'; return $content; } -add_filter( 'tootpress_afterloop_filter', 'tootpress_afterloop_add', 99, 1 ); +add_filter( 'tootpress_closing_filter', 'tootpress_closing_add', 99, 1 ); ?> \ No newline at end of file