Skip to content

Commit 76a69dd

Browse files
committed
Update function name
1 parent 0f5e727 commit 76a69dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

themes/osi/inc/template-functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function osi_the_page_dates() {
228228
*
229229
* @return string The processed content.
230230
*/
231-
function osi_the_content( string $content ) {
231+
function osi_force_content_links_new_tab( string $content ) {
232232
if ( ! em_is_event_rsvpable() ) {
233233
// Instantiate the processor.
234234
$processor = new \WP_HTML_Tag_Processor( $content );
@@ -258,4 +258,4 @@ function osi_the_content( string $content ) {
258258
return $content;
259259
}
260260

261-
add_filter( 'the_content', 'osi_the_content' );
261+
add_filter( 'the_content', 'osi_force_content_links_new_tab' );

0 commit comments

Comments
 (0)