Remove subscribe links from the html source code
-
Hi there,
we’re using The Events Calendar Version 6.2.2 on WP 6.3.1
Our events pages don’t feature the subscribe links (Google, Outlook, …) on purpose.
But, although the links are not visible when you visit the web page, they are still visible in the HTML source code (Ctrl+U in the browser).
How can we completely remove those links?
The following tip from the knowledge base doesn’t work:
// Hide subscribe box on all event pages. add_filter( ‘tec_views_v2_subscribe_links’, function( $subscribe_links ) { // When passed an empty array, the template will bail and not display. return []; }, 100 );
Thanks
Best,
Larry
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Remove subscribe links from the html source code’ is closed to new replies.