Add a filter to the day link in general-template.php
|Reported by:||codealsatian||Owned by:|
|Component:||Template||Keywords:||has-patch hook filter calendar_day_link|
Please add a filter to the day hyperlink in general-template.php.
As you'll see in the attached DIFF file, I added a new function so that it's clear to which function the filter applies. I felt it might be confusing if the filter was included in the get_calendar() function and yet it acts only on the day link.
I develop plugins that add classes, ids, conditional nofollows, etc., to hyperlinks for styling and SEO.
Change History (7)
comment:3 @JohnLamansky — 7 years ago
- Component changed from General to Template
- Keywords hook filter calendar_day_link added
- Milestone changed from 2.6 to 2.5.2