Modify before_widget parameter
-
I’ve made a plugin and when i register it
register_sidebar_widget('Example', 'widget_Example');
on the frontend side i obtain the following:
<div id="Example" class="widget_style"> PLUGIN CONTENT </div>
I know that ID and CLASS (into DIV) are assigned with before_widget instance, but i’d like to know if it’s possible to define, inside the plugin code, the value of ID tag.
I’d like to have this
<div id="WHAT I WANT HERE" class="widget_style"> PLUGIN CONTENT </div>
Is it possible?
thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Modify before_widget parameter’ is closed to new replies.