From d4769e6e53fcb9bf98542d71449545edec240778 Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Wed, 4 Sep 2024 14:15:23 +0530 Subject: [PATCH] refactor: remove the array value converter --- inc/views/template_parts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/views/template_parts.php b/inc/views/template_parts.php index bdd22e2842..b1be558743 100644 --- a/inc/views/template_parts.php +++ b/inc/views/template_parts.php @@ -455,7 +455,7 @@ public function link_excerpt_more( $moretag, $post_id = null ) { $new_moretag = ''; } - $read_more_args = (array) apply_filters( + $read_more_args = apply_filters( 'neve_read_more_args', array( 'text' => esc_html__( 'Read More', 'neve' ) . ' »',