Last active
April 8, 2020 17:09
-
-
Save DanielFloeter/cd98883b2dbb06555d180d4dfa6f62a9 to your computer and use it in GitHub Desktop.
Open title link in new window or tab (Filter extension)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Filter extension: | |
function open_in_new_tab_callback( $title ) { | |
// ToDo Just the title and no HTML | |
return $title; | |
} | |
add_filter( 'widget_title', 'open_in_new_tab_callback' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment