add filter to blogroll to modify links
-
I am creating a plugin where I would like to add a filter that runs through the list of links looking for a specific attribute value, ie
href
,title
orrel
.I would then like to add a javascript onlick event ie
onclick="somefunction();"
how would I achieve this?
I know I can use
add_filter('the_content', 'otherfunction', 99);
to filter through post content, is there something similar for the links?help appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add filter to blogroll to modify links’ is closed to new replies.