Altering the Plugin Markup
-
I am looking to alter the markup generated for tabs. I can see the place in the plugin where the markup is generated here:
https://github.com/justintadlock/whistles/blob/master/inc/class-whistles-and-tabs.php
This returns a variable
output
. I was hoping for a filter on that but there does not seem to be one.However on further inspection I can see that you can filter the entire Whistles object outlined here:
https://github.com/justintadlock/whistles/blob/master/inc/functions.php#L65-L71
My question is that I am not sure how to go about this. I support I want to create (extend) my own class for
Whistles_And_Tabs
and make my own method forset_markup
.Can anyone give me a clue of how to get started please?
- The topic ‘Altering the Plugin Markup’ is closed to new replies.