Filtering text in theme support modules
-
I have written a plugin which filters as follows:
add_filter(‘the_content’, array($this, ‘number_text’));
add_filter(‘the_title’, array($this, ‘number_text’));
add_filter(‘widget_text’, array($this, ‘number_text’));
add_filter(‘widget_title’, array($this, ‘number_text’));
add_filter(‘bloginfo’, array($this, ‘number_text_in_bloginfo’), 10, 2);I would like also to be able to apply the filter function to text entered into 3rd party themes where they have text fields in
theme support
.For example, in the theme support for the freely available responsive theme, there are fields called
headline
,subheadline
andcontent area
. Is there a filter I can hook into that will apply the transformation in my filter to the text in those fields?Regards,
Bruce/bugmagnet.
- The topic ‘Filtering text in theme support modules’ is closed to new replies.